mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
UI: search for assets under /usr/share on any Unix desktop
This commit is contained in:
parent
87be57a1fa
commit
0af2bfe11c
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ void NativeInit(int argc, const char *argv[],
|
|||
#elif defined(BLACKBERRY) || defined(IOS)
|
||||
// Packed assets are included in app
|
||||
VFSRegister("", new DirectoryAssetReader(external_directory));
|
||||
#elif defined(__APPLE__) || (defined(__linux__) && !defined(ANDROID))
|
||||
#elif !defined(MOBILE_DEVICE) && !defined(_WIN32)
|
||||
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str()));
|
||||
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str()));
|
||||
VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));
|
||||
|
|
Loading…
Add table
Reference in a new issue