diff options
author | Vencislav Atanasov <user890104@freemyipod.org> | 2019-07-28 23:31:50 +0300 |
---|---|---|
committer | Vencislav Atanasov <user890104@freemyipod.org> | 2019-07-29 01:59:40 +0300 |
commit | 183e45e8d0b4425bbd41fab37f2a4dc143e1e27c (patch) | |
tree | 5e25c211f6a3bd46dc594123451af00c1bf7ef9c /apps/plugins/sdl/progs/quake/common.c | |
parent | e19857e712ff54cec08d5a6342a32dae2788cb50 (diff) | |
download | rockbox-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/quake/common.c')
-rw-r--r-- | apps/plugins/sdl/progs/quake/common.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/plugins/sdl/progs/quake/common.c b/apps/plugins/sdl/progs/quake/common.c index 5191af8c36..881c01e22e 100644 --- a/apps/plugins/sdl/progs/quake/common.c +++ b/apps/plugins/sdl/progs/quake/common.c | |||
@@ -1508,14 +1508,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file) | |||
1508 | strcpy (cachepath, netpath); | 1508 | strcpy (cachepath, netpath); |
1509 | else | 1509 | else |
1510 | { | 1510 | { |
1511 | #if defined(_WIN32) | ||
1512 | if ((strlen(netpath) < 2) || (netpath[1] != ':')) | ||
1513 | sprintf (cachepath,"%s%s", com_cachedir, netpath); | ||
1514 | else | ||
1515 | sprintf (cachepath,"%s%s", com_cachedir, netpath+2); | ||
1516 | #else | ||
1517 | sprintf (cachepath,"%s/%s", com_cachedir, netpath); | 1511 | sprintf (cachepath,"%s/%s", com_cachedir, netpath); |
1518 | #endif | ||
1519 | 1512 | ||
1520 | cachetime = Sys_FileTime (cachepath); | 1513 | cachetime = Sys_FileTime (cachepath); |
1521 | 1514 | ||