summaryrefslogtreecommitdiff
path: root/apps
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
parent3e27705eb9a68a07983c84b2771216c010c7ba21 (diff)
downloadrockbox-89aea2d5fe74d8281f4e2f0b72acab052f63c1fe.tar.gz
rockbox-89aea2d5fe74d8281f4e2f0b72acab052f63c1fe.zip
wolf3d: write configs to /.rockbox/wolf3d instead of /.wolf4sdl
Let's keep things neat. Change-Id: I995b2c4949d3adbbd7ea4ef361f0712aa222612e
Diffstat (limited to 'apps')
-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 @@
4#ifndef VERSIONALREADYCHOSEN // used for batch compiling 4#ifndef VERSIONALREADYCHOSEN // used for batch compiling
5 5
6#ifndef DATADIR 6#ifndef DATADIR
7#define DATADIR "/.rockbox/wolf3d/" 7#define DATADIR ROCKBOX_DIR "/wolf3d/"
8#endif 8#endif
9 9
10/* Defines used for different versions */ 10/* 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)
4001 { 4001 {
4002 Quit("Your $HOME directory is not defined. You must set this before playing."); 4002 Quit("Your $HOME directory is not defined. You must set this before playing.");
4003 } 4003 }
4004 #define WOLFDIR "/.wolf4sdl" 4004#define WOLFDIR ROCKBOX_DIR "/wolf3d"
4005 if(strlen(homedir) + sizeof(WOLFDIR) > sizeof(configdir)) 4005 if(strlen(homedir) + sizeof(WOLFDIR) > sizeof(configdir))
4006 { 4006 {
4007 Quit("Your $HOME directory path is too long. It cannot be used for saving games."); 4007 Quit("Your $HOME directory path is too long. It cannot be used for saving games.");