SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,17 @@
Index: UI/NativeApp.cpp
--- UI/NativeApp.cpp.orig
+++ UI/NativeApp.cpp
@@ -445,12 +445,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)