mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-07 21:56:44 +01:00
GetDataFilePath: support launching straight from the build directory
This commit is contained in:
parent
ee058b439a
commit
f1933fc7ba
1 changed files with 2 additions and 1 deletions
|
@ -352,9 +352,10 @@ static char* TestDataFilePath(struct Game* game, const char* filename) {
|
|||
|
||||
#ifdef ALLEGRO_MACOSX
|
||||
TestPath(filename, "../Resources/data/", &result);
|
||||
TestPath(filename, "../Resources/gamestates/", &result);
|
||||
#endif
|
||||
|
||||
TestPath(filename, "../../data/", &result);
|
||||
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue