gb reported that fs_cache wasn't working, but its more serious than that. this should fix it.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4063 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-07-07 22:26:45 +00:00
parent f58b9802b8
commit 73fd4fcf8d

View file

@ -328,7 +328,8 @@ static void FSSTDIO_ReadFile(void *handle, flocation_t *loc, char *buffer)
} }
static int FSSTDIO_EnumerateFiles (void *handle, const char *match, int (*func)(const char *, int, void *), void *parm) static int FSSTDIO_EnumerateFiles (void *handle, const char *match, int (*func)(const char *, int, void *), void *parm)
{ {
return Sys_EnumerateFiles(handle, match, func, parm); stdiopath_t *sp = handle;
return Sys_EnumerateFiles(sp->rootpath, match, func, parm);
} }
searchpathfuncs_t stdiofilefuncs = { searchpathfuncs_t stdiofilefuncs = {