summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/wolf3d/wl_menu.c
diff options
context:
space:
mode:
authorVencislav Atanasov <user890104@freemyipod.org>2019-07-28 23:31:50 +0300
committerVencislav Atanasov <user890104@freemyipod.org>2019-07-29 01:59:40 +0300
commit183e45e8d0b4425bbd41fab37f2a4dc143e1e27c (patch)
tree5e25c211f6a3bd46dc594123451af00c1bf7ef9c /apps/plugins/sdl/progs/wolf3d/wl_menu.c
parente19857e712ff54cec08d5a6342a32dae2788cb50 (diff)
downloadrockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.tar.gz
rockbox-183e45e8d0b4425bbd41fab37f2a4dc143e1e27c.zip
sdl: Remove platform-specific code
Also nuke the Makefiles of Duke Nukem 3D (pun intended). Change-Id: If2707cf079bfb9299347f9c5f980780134b6ecda
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 }