summaryrefslogtreecommitdiffstats
path: root/games/bstone/datadir.diff
diff options
context:
space:
mode:
author B. Watson2020-08-05 00:26:44 +0200
committer Willy Sudiarto Raharjo2020-08-29 05:08:35 +0200
commit126627d9d05ba9ff5fc84ad3e3517dd0a25879b0 (patch)
tree5d64414c090a738e281a7557fdc14f826da1533c /games/bstone/datadir.diff
parentb2a034dc13ac0d5f21f909de88bb7e785b34d4d0 (diff)
downloadslackbuilds-126627d9d05ba9ff5fc84ad3e3517dd0a25879b0.tar.gz
games/bstone: Updated for version 1.2.8.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/bstone/datadir.diff')
-rw-r--r--games/bstone/datadir.diff20
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;
}