mirror of https://github.com/stella-emu/stella.git
Ignore '__MACOSX' directories stored in ZIP files.
Note that this seems to duplicate functionality in ZipHandler; that code is in the process of being rewritten.
This commit is contained in:
parent
a780e9542e
commit
4edd626a3a
|
@ -140,7 +140,10 @@ bool FilesystemNodeZIP::getChildren(AbstractFSList& myList, ListMode mode,
|
|||
while(zip.hasNext())
|
||||
{
|
||||
// Only consider entries that start with '_virtualPath'
|
||||
// Ignore empty filenames and '__MACOSX' virtual directories
|
||||
const string& next = zip.next();
|
||||
if(BSPF::startsWithIgnoreCase(next, "__MACOSX") || next == EmptyString)
|
||||
continue;
|
||||
if(BSPF::startsWithIgnoreCase(next, _virtualPath))
|
||||
{
|
||||
// First strip off the leading directory
|
||||
|
|
Loading…
Reference in New Issue