1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-01 02:40:43 +02: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

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