Skip to content

Commit

Permalink
Fixed Linux error where files could not be loaded (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaegont1 authored Mar 2, 2024
1 parent 5fb1adb commit 888e26f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform/nix/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ void joyUpdate() {
// filesystem
#define MAX_FILES 4096
char* gFiles[MAX_FILES];
const char* gEmpty = "";
int32 gFilesCount;

void addDir(char* path)
Expand Down Expand Up @@ -387,7 +386,7 @@ const char* osFixFileName(const char* fileName)
return gFiles[i];
}
}
return gEmpty;
return NULL;
}

// system
Expand Down

0 comments on commit 888e26f

Please sign in to comment.