0
0
Fork 0
haikuports/games-rpg/manaplus/patches/manaplus-1.8.4.14.patchset

23 lines
750 B
Plaintext

From c1a40be1f98376ce3eff6ced4f2148dadc8778a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sat, 19 May 2018 12:24:05 +0200
Subject: Use the cache folder for the game data
diff --git a/src/dirs.cpp b/src/dirs.cpp
index c0badd3..f758e7d 100644
--- a/src/dirs.cpp
+++ b/src/dirs.cpp
@@ -346,7 +346,7 @@ void Dirs::initLocalDataDir()
branding.getValue("appName", "ManaPlus"));
#elif defined __HAIKU__
settings.localDataDir = pathJoin(VirtFs::getUserDir(),
- "config/data/Mana");
+ "config/cache/Mana");
#elif defined WIN32
settings.localDataDir = getSpecialFolderLocation(CSIDL_LOCAL_APPDATA);
if (settings.localDataDir.empty())
--
2.16.2