mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-15 11:25:36 +02:00
Normalize paths during calls to FileSystem::openReadRaw
This commit is contained in:
parent
91619e895d
commit
2d29cd8da0
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,
|
void FileSystem::openReadRaw(SDL_RWops &ops, const char *filename,
|
||||||
bool freeOnClose) {
|
bool freeOnClose) {
|
||||||
|
|
||||||
PHYSFS_File *handle = PHYSFS_openRead(desensitize(filename));
|
PHYSFS_File *handle = PHYSFS_openRead(normalize(filename, 0, 0).c_str());
|
||||||
|
|
||||||
// assert(handle);
|
// assert(handle);
|
||||||
if (!handle)
|
if (!handle)
|
||||||
|
|
Loading…
Add table
Reference in a new issue