mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-01 20:45:31 +02:00
Normalize paths during calls to FileSystem::openReadRaw
This commit is contained in:
parent
0179e6a75b
commit
aaae11b67d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue