mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-03 08:41:27 +01:00
FindDataFilePath: Add overlay directory for PS Vita assets
This commit is contained in:
parent
e74d01f671
commit
f20a097b59
1 changed files with 10 additions and 0 deletions
10
src/utils.c
10
src/utils.c
|
@ -416,6 +416,16 @@ SYMBOL_EXPORT const char* FindDataFilePath(struct Game* game, const char* filena
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef __vita__
|
||||
char origfn[255] = "vita/";
|
||||
strncat(origfn, filename, 249);
|
||||
|
||||
result = TestDataFilePath(game, origfn);
|
||||
if (result) {
|
||||
return AddGarbage(game, result);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef LIBSUPERDERPY_FLACTOLOSSY_EXT
|
||||
{
|
||||
char* file = AddGarbage(game, strdup(filename));
|
||||
|
|
Loading…
Add table
Reference in a new issue