Skip to content

Commit

Permalink
UI: search for assets under /usr/share on any Unix desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed May 25, 2015
1 parent cc1da1e commit e638fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/NativeApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,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/"));
Expand Down

0 comments on commit e638fbe

Please sign in to comment.