git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@218
d7cf8633-e32d-0410-b094-
e92efae38249
int Sys_FileRead (int handle, void *dest, int count)
{
int Sys_FileRead (int handle, void *dest, int count)
{
- return Qread (dest, 1, count, sys_handles[handle]);
+ return Qread (sys_handles[handle], dest, count);
}
int Sys_FileWrite (int handle, void *data, int count)
{
}
int Sys_FileWrite (int handle, void *data, int count)
{
- return Qwrite (data, 1, count, sys_handles[handle]);
+ return Qwrite (sys_handles[handle], data, count);
}
int Sys_FileTime (char *path)
}
int Sys_FileTime (char *path)