If all else fails, look for data files (romlist.bin) in the current working direcoty.
This commit is contained in:
parent
959c37ead7
commit
4f87707cda
|
@ -186,6 +186,9 @@ FILE* OpenDataFile(const char* path)
|
|||
}
|
||||
free(fullpath);
|
||||
}
|
||||
|
||||
FILE* f = fopen(path, "rb");
|
||||
if (f) return f;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue