If all else fails, look for data files (romlist.bin) in the current working direcoty.

This commit is contained in:
Nadia Holmquist Pedersen 2019-12-05 00:11:52 +01:00
parent 959c37ead7
commit 4f87707cda
1 changed files with 3 additions and 0 deletions

View File

@ -186,6 +186,9 @@ FILE* OpenDataFile(const char* path)
}
free(fullpath);
}
FILE* f = fopen(path, "rb");
if (f) return f;
return NULL;
}