1
0
Fork 0
forked from len0rd/rockbox

wolf3d: write configs to /.rockbox/wolf3d instead of /.wolf4sdl

Let's keep things neat.

Change-Id: I995b2c4949d3adbbd7ea4ef361f0712aa222612e
This commit is contained in:
Franklin Wei 2019-07-10 16:58:27 -04:00
parent 3e27705eb9
commit 89aea2d5fe
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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.");