summaryrefslogtreecommitdiff
path: root/apps/plugins/sdl/progs/duke3d/Engine/src/engine.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/duke3d/Engine/src/engine.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/duke3d/Engine/src/engine.c')
-rw-r--r--apps/plugins/sdl/progs/duke3d/Engine/src/engine.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/sdl/progs/duke3d/Engine/src/engine.c b/apps/plugins/sdl/progs/duke3d/Engine/src/engine.c
index c0a7390882..b3b807d706 100644
--- a/apps/plugins/sdl/progs/duke3d/Engine/src/engine.c
+++ b/apps/plugins/sdl/progs/duke3d/Engine/src/engine.c
@@ -3335,13 +3335,7 @@ int saveboard(char *filename, int32_t *daposx, int32_t *daposy,
3335 walltype *w; 3335 walltype *w;
3336 sectortype *sect; 3336 sectortype *sect;
3337 3337
3338#if ((defined PLATFORM_DOS) || (defined PLATFORM_WIN32))
3339 permissions = S_IWRITE;
3340#elif (defined PLATFORM_UNIX)
3341 permissions = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
3342#elif (defined PLATFORM_ROCKBOX)
3343 permissions = 0644; 3338 permissions = 0644;
3344#endif
3345 3339
3346 if ((fil = rb->open(filename, 3340 if ((fil = rb->open(filename,
3347 O_BINARY|O_TRUNC|O_CREAT|O_WRONLY, 3341 O_BINARY|O_TRUNC|O_CREAT|O_WRONLY,