diff options
Diffstat (limited to 'games/bstone/datadir.diff')
-rw-r--r-- | games/bstone/datadir.diff | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/games/bstone/datadir.diff b/games/bstone/datadir.diff index ebb339fe27..19a7100c32 100644 --- a/games/bstone/datadir.diff +++ b/games/bstone/datadir.diff @@ -1,7 +1,7 @@ -diff -Naur bstone-1.1.14/src/3d_main.cpp bstone-1.1.14.patched/src/3d_main.cpp ---- bstone-1.1.14/src/3d_main.cpp 2019-11-09 05:08:15.000000000 -0500 -+++ bstone-1.1.14.patched/src/3d_main.cpp 2019-11-27 14:08:41.481084182 -0500 -@@ -10523,24 +10523,7 @@ +diff -Naur bstone-1.2.8/src/3d_main.cpp bstone-1.2.8.patched/src/3d_main.cpp +--- bstone-1.2.8/src/3d_main.cpp 2020-07-10 09:58:35.000000000 -0400 ++++ bstone-1.2.8.patched/src/3d_main.cpp 2020-08-04 03:07:36.266707676 -0400 +@@ -10722,20 +10722,7 @@ const std::string& get_default_data_dir() { @@ -12,17 +12,13 @@ diff -Naur bstone-1.1.14/src/3d_main.cpp bstone-1.1.14.patched/src/3d_main.cpp - { - is_initialized = true; - -- auto sdl_dir = ::SDL_GetBasePath(); +- result = bstone::file_system::get_working_dir(); - -- if (sdl_dir) -- { -- result = sdl_dir; -- ::SDL_free(sdl_dir); -- } -- } -#ifdef __vita__ -- result = "ux0:/data/bstone/"; +- result = "ux0:/data/bstone/"; -#endif +- } +- + static std::string result = "/usr/share/games/bstone/"; return result; } |