mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
COMMON: Fix handling of / that caused The 7 colors to fail
Implicit conversion of string to path caused splitting by / instead of intended by DIR_SEPARATOR
This commit is contained in:
parent
91865f04a5
commit
602eeec387
@ -309,7 +309,7 @@ void FSDirectory::cacheDirectoryRecursive(FSNode node, int depth, const Path& pr
|
||||
Common::toPrintable(name).c_str());
|
||||
}
|
||||
}
|
||||
cacheDirectoryRecursive(*it, depth - 1, _flat ? prefix : lowercaseName + DIR_SEPARATOR);
|
||||
cacheDirectoryRecursive(*it, depth - 1, _flat ? prefix : Common::Path(lowercaseName + DIR_SEPARATOR, DIR_SEPARATOR));
|
||||
_subDirCache[lowercaseName] = *it;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user