ports/emulators/ppsspp/patches/patch-UI_NativeApp_cpp

17 lines
893 B
Text

Index: UI/NativeApp.cpp
--- UI/NativeApp.cpp.orig
+++ UI/NativeApp.cpp
@@ -416,12 +416,7 @@ void NativeInit(int argc, const char *argv[], const ch
g_VFS.Register("", new DirectoryReader(Path(ASSETS_DIR)));
#endif
#if !defined(MOBILE_DEVICE) && !defined(_WIN32) && !PPSSPP_PLATFORM(SWITCH)
- g_VFS.Register("", new DirectoryReader(File::GetExeDirectory() / "assets"));
- g_VFS.Register("", new DirectoryReader(File::GetExeDirectory()));
- g_VFS.Register("", new DirectoryReader(Path("/usr/local/share/ppsspp/assets")));
- g_VFS.Register("", new DirectoryReader(Path("/usr/local/share/games/ppsspp/assets")));
- g_VFS.Register("", new DirectoryReader(Path("/usr/share/ppsspp/assets")));
- g_VFS.Register("", new DirectoryReader(Path("/usr/share/games/ppsspp/assets")));
+ g_VFS.Register("", new DirectoryReader(Path("${PREFIX}/share/ppsspp/assets")));
#endif
#if PPSSPP_PLATFORM(SWITCH)