summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/wolf3d/wl_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/progs/wolf3d/wl_menu.c')
-rw-r--r--apps/plugins/sdl/progs/wolf3d/wl_menu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/sdl/progs/wolf3d/wl_menu.c b/apps/plugins/sdl/progs/wolf3d/wl_menu.c
index d72f0733c2..cdbc70aad1 100644
--- a/apps/plugins/sdl/progs/wolf3d/wl_menu.c
+++ b/apps/plugins/sdl/progs/wolf3d/wl_menu.c
@@ -3992,7 +3992,6 @@ CheckForEpisodes (void)
3992 int statbuf; 3992 int statbuf;
3993 3993
3994 // On Linux like systems, the configdir defaults to $HOME/.wolf4sdl 3994 // On Linux like systems, the configdir defaults to $HOME/.wolf4sdl
3995#if !defined(_WIN32) && !defined(_arch_dreamcast)
3996 if(configdir[0] == 0) 3995 if(configdir[0] == 0)
3997 { 3996 {
3998 // Set config location to home directory for multi-user support 3997 // Set config location to home directory for multi-user support
@@ -4008,18 +4007,13 @@ CheckForEpisodes (void)
4008 } 4007 }
4009 snprintf(configdir, sizeof(configdir), "%s" WOLFDIR, homedir); 4008 snprintf(configdir, sizeof(configdir), "%s" WOLFDIR, homedir);
4010 } 4009 }
4011#endif
4012 4010
4013 if(configdir[0] != 0) 4011 if(configdir[0] != 0)
4014 { 4012 {
4015 // Ensure config directory exists and create if necessary 4013 // Ensure config directory exists and create if necessary
4016 if(stat(configdir, &statbuf) != 0) 4014 if(stat(configdir, &statbuf) != 0)
4017 { 4015 {
4018#ifdef _WIN32
4019 if(_mkdir(configdir) != 0)
4020#else
4021 if(mkdir(configdir) != 0) 4016 if(mkdir(configdir) != 0)
4022#endif
4023 { 4017 {
4024 Quit("The configuration directory \"%s\" could not be created.", configdir); 4018 Quit("The configuration directory \"%s\" could not be created.", configdir);
4025 } 4019 }