void FILE_GET(FILE *file, int offset, void *buffer, int num_bytes)
{
- fseek(file, offset - 1, SEEK_SET);
+ if (offset != -1)
+ fseek(file, offset - 1, SEEK_SET);
while (num_bytes--)
*(byte *)buffer++ = fgetc(file);
}
}
-long GetTickCount()
+long MyGetTickCount()
{
return random_linux_libc(RANDOM_SIMPLE);
}
return 0;
}
-void DoEvents()
-{
- return;
-}
-
void SaveSetting(const char * a, const char *b, char *c, int d)
{
return;
}
+#if 0
+
long GetTempPath(long a, char *b)
{
return 0;
}
+
+#endif