1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 01:20:37 +02:00

Don't scan the NAND as it's already done elsewhere.

If mounted, the NAND should be present as /media/ccnandb1 (dingux
build) but /media is already scanned.
This commit is contained in:
Paul Cercueil 2012-06-24 22:19:36 +02:00
parent d6621584e3
commit 64db1d7912

View File

@ -1365,7 +1365,7 @@ void GMenu2X::scanner() {
lineY += 26;
}
scanbg.write(font,tr["Scanning SD filesystem..."],5,lineY);
scanbg.write(font,tr["Scanning filesystem..."],5,lineY);
scanbg.blit(s,0,0);
s->flip();
lineY += 26;
@ -1373,20 +1373,6 @@ void GMenu2X::scanner() {
vector<string> files;
scanPath(CARD_ROOT, &files);
const char *nandpath = NULL;
#ifdef PLATFORM_DINGUX
nandpath = "/media/ccnandb1";
#endif
if (nandpath) {
scanbg.write(font,tr["Scanning NAND filesystem..."],5,lineY);
scanbg.blit(s,0,0);
s->flip();
lineY += 26;
scanPath(nandpath, &files);
}
stringstream ss;
ss << files.size();
string str = "";