1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-08 06:06:51 +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 // filesystem
#define MAX_FILES 4096 #define MAX_FILES 4096
char* gFiles[MAX_FILES]; char* gFiles[MAX_FILES];
const char* gEmpty = "";
int32 gFilesCount; int32 gFilesCount;
void addDir(char* path) void addDir(char* path)
@@ -387,7 +386,7 @@ const char* osFixFileName(const char* fileName)
return gFiles[i]; return gFiles[i];
} }
} }
return gEmpty; return NULL;
} }
// system // system