mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 23:22:34 -05:00
sdl: Remove platform-specific code
Also nuke the Makefiles of Duke Nukem 3D (pun intended). Change-Id: If2707cf079bfb9299347f9c5f980780134b6ecda
This commit is contained in:
parent
e19857e712
commit
183e45e8d0
49 changed files with 53 additions and 2191 deletions
|
|
@ -3335,13 +3335,7 @@ int saveboard(char *filename, int32_t *daposx, int32_t *daposy,
|
|||
walltype *w;
|
||||
sectortype *sect;
|
||||
|
||||
#if ((defined PLATFORM_DOS) || (defined PLATFORM_WIN32))
|
||||
permissions = S_IWRITE;
|
||||
#elif (defined PLATFORM_UNIX)
|
||||
permissions = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
|
||||
#elif (defined PLATFORM_ROCKBOX)
|
||||
permissions = 0644;
|
||||
#endif
|
||||
|
||||
if ((fil = rb->open(filename,
|
||||
O_BINARY|O_TRUNC|O_CREAT|O_WRONLY,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue