mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
TestDataFilePath: handle /usr/share/games/ data path
This makes it work with proper Debian packages.
This commit is contained in:
parent
5c9ebfdbdd
commit
3c0f104add
1 changed files with 1 additions and 0 deletions
|
@ -347,6 +347,7 @@ static char* TestDataFilePath(struct Game* game, const char* filename) {
|
|||
|
||||
TestPath(filename, "data/", &result);
|
||||
TestPath(filename, GetGameName(game, "../share/%s/data/"), &result);
|
||||
TestPath(filename, GetGameName(game, "../share/games/%s/data/"), &result);
|
||||
|
||||
#ifdef ALLEGRO_MACOSX
|
||||
TestPath(filename, "../Resources/data/", &result);
|
||||
|
|
Loading…
Reference in a new issue