summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sdl/progs/wolf3d
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2019-07-10 16:58:27 -0400
committerFranklin Wei <git@fwei.tk>2019-07-10 17:03:26 -0400
commit89aea2d5fe74d8281f4e2f0b72acab052f63c1fe (patch)
tree030cb66000558c3eb036677885f1cf30dbbc0a70 /apps/plugins/sdl/progs/wolf3d
parent3e27705eb9a68a07983c84b2771216c010c7ba21 (diff)
downloadrockbox-89aea2d5fe74d8281f4e2f0b72acab052f63c1fe.tar.gz
rockbox-89aea2d5fe74d8281f4e2f0b72acab052f63c1fe.tar.bz2
rockbox-89aea2d5fe74d8281f4e2f0b72acab052f63c1fe.zip
wolf3d: write configs to /.rockbox/wolf3d instead of /.wolf4sdl
Let's keep things neat. Change-Id: I995b2c4949d3adbbd7ea4ef361f0712aa222612e
Diffstat (limited to 'apps/plugins/sdl/progs/wolf3d')
-rw-r--r--apps/plugins/sdl/progs/wolf3d/version.h2
-rw-r--r--apps/plugins/sdl/progs/wolf3d/wl_menu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/sdl/progs/wolf3d/version.h b/apps/plugins/sdl/progs/wolf3d/version.h
index 48b2177674..d857d15253 100644
--- a/apps/plugins/sdl/progs/wolf3d/version.h
+++ b/apps/plugins/sdl/progs/wolf3d/version.h
@@ -4,7 +4,7 @@
#ifndef VERSIONALREADYCHOSEN // used for batch compiling
#ifndef DATADIR
-#define DATADIR "/.rockbox/wolf3d/"
+#define DATADIR ROCKBOX_DIR "/wolf3d/"
#endif
/* Defines used for different versions */
diff --git a/apps/plugins/sdl/progs/wolf3d/wl_menu.c b/apps/plugins/sdl/progs/wolf3d/wl_menu.c
index 3913fab33d..d72f0733c2 100644
--- a/apps/plugins/sdl/progs/wolf3d/wl_menu.c
+++ b/apps/plugins/sdl/progs/wolf3d/wl_menu.c
@@ -4001,7 +4001,7 @@ CheckForEpisodes (void)
{
Quit("Your $HOME directory is not defined. You must set this before playing.");
}
- #define WOLFDIR "/.wolf4sdl"
+#define WOLFDIR ROCKBOX_DIR "/wolf3d"
if(strlen(homedir) + sizeof(WOLFDIR) > sizeof(configdir))
{
Quit("Your $HOME directory path is too long. It cannot be used for saving games.");