From 39576814ac826c5668929f6f9305263ee8d2c74d Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 18 Mar 2020 09:59:03 -0700 Subject: [PATCH] Add more assets directory paths. --- UI/NativeApp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 400cdebc1..973c6c502 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -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/";