Skip to content

Commit

Permalink
Add more assets directory paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
orbea committed Mar 18, 2020
1 parent b3c1113 commit 3957681
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/NativeApp.cpp
Expand Up @@ -464,7 +464,10 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
#if !defined(MOBILE_DEVICE) && !defined(_WIN32) && !PPSSPP_PLATFORM(SWITCH)
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str()));
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str()));
VFSRegister("", new DirectoryAssetReader("/usr/local/share/ppsspp/assets/"));
VFSRegister("", new DirectoryAssetReader("/usr/local/share/games/ppsspp/assets/"));
VFSRegister("", new DirectoryAssetReader("/usr/share/ppsspp/assets/"));
VFSRegister("", new DirectoryAssetReader("/usr/share/games/ppsspp/assets/"));
#endif
#if PPSSPP_PLATFORM(SWITCH)
std::string assetPath = user_data_path + "assets/";
Expand Down

0 comments on commit 3957681

Please sign in to comment.