mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-02-18 10:44:44 +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;
|
lineY += 26;
|
||||||
}
|
}
|
||||||
|
|
||||||
scanbg.write(font,tr["Scanning SD filesystem..."],5,lineY);
|
scanbg.write(font,tr["Scanning filesystem..."],5,lineY);
|
||||||
scanbg.blit(s,0,0);
|
scanbg.blit(s,0,0);
|
||||||
s->flip();
|
s->flip();
|
||||||
lineY += 26;
|
lineY += 26;
|
||||||
@ -1373,20 +1373,6 @@ void GMenu2X::scanner() {
|
|||||||
vector<string> files;
|
vector<string> files;
|
||||||
scanPath(CARD_ROOT, &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;
|
stringstream ss;
|
||||||
ss << files.size();
|
ss << files.size();
|
||||||
string str = "";
|
string str = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user