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:
parent
d6621584e3
commit
64db1d7912
@ -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 = "";
|
||||
|
Loading…
Reference in New Issue
Block a user