mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-01-11 19:39:09 +01:00
- skip 'samples' folder which is sometimes in roms folder. this prevents the samples zip from being added to the roms list.
This commit is contained in:
parent
85020b1f03
commit
1ce95b7ba3
BIN
out/boot.dol
BIN
out/boot.dol
Binary file not shown.
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
@ -350,7 +350,7 @@ void GetFiles(const char *Path, const vector<string>& FileTypes,
|
|||||||
AddFile(FullPathChar);
|
AddFile(FullPathChar);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if(depth < max_depth) //thanks libntfs (fail opendir) and thanks seekdir (slowass speed)
|
else if(depth < max_depth && strcmp(pent->d_name, "samples") != 0) //skip samples folder in mame roms folder
|
||||||
SubPaths.push_back(FullPathChar);
|
SubPaths.push_back(FullPathChar);
|
||||||
}
|
}
|
||||||
else if(pent->d_type == DT_REG)
|
else if(pent->d_type == DT_REG)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user