forked from len0rd/rockbox
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
|
@ -1508,14 +1508,7 @@ int COM_FindFile (char *filename, int *handle, FILE **file)
|
|||
strcpy (cachepath, netpath);
|
||||
else
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
if ((strlen(netpath) < 2) || (netpath[1] != ':'))
|
||||
sprintf (cachepath,"%s%s", com_cachedir, netpath);
|
||||
else
|
||||
sprintf (cachepath,"%s%s", com_cachedir, netpath+2);
|
||||
#else
|
||||
sprintf (cachepath,"%s/%s", com_cachedir, netpath);
|
||||
#endif
|
||||
|
||||
cachetime = Sys_FileTime (cachepath);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue