Normalize paths during calls to FileSystem::openReadRaw

This commit is contained in:
Struma 2020-12-25 20:20:17 -05:00 committed by Roza
parent 0179e6a75b
commit aaae11b67d

View file

@ -626,7 +626,7 @@ void FileSystem::openRead(OpenHandler &handler, const char *filename) {
void FileSystem::openReadRaw(SDL_RWops &ops, const char *filename,
bool freeOnClose) {
PHYSFS_File *handle = PHYSFS_openRead(desensitize(filename));
PHYSFS_File *handle = PHYSFS_openRead(normalize(filename, 0, 0).c_str());
// assert(handle);
if (!handle)