1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-03-13 23:59:41 +01:00

Fixed Linux error where files could not be loaded (#484)

This commit is contained in:
Rafael Guimarães 2024-03-01 23:15:26 -03:00 committed by GitHub
parent 5fb1adb90a
commit 888e26f82a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -323,7 +323,6 @@ void joyUpdate() {
// filesystem
#define MAX_FILES 4096
char* gFiles[MAX_FILES];
const char* gEmpty = "";
int32 gFilesCount;
void addDir(char* path)
@ -387,7 +386,7 @@ const char* osFixFileName(const char* fileName)
return gFiles[i];
}
}
return gEmpty;
return NULL;
}
// system