fixed CFileMgr somewhat; still issues when loading saves

This commit is contained in:
aap
2019-06-13 01:12:37 +02:00
parent 9703ef9b59
commit 3472a614ae
7 changed files with 22 additions and 21 deletions

View File

@ -47,17 +47,6 @@ mysrand(unsigned int seed)
myrand_seed = seed;
}
// platform stuff
char*
GetUserDirectory(void)
{
static char path[MAX_PATH];
strcpy(path, "userfiles");
mkdir(path);
return path;
}
int (*open_script_orig)(const char *path, const char *mode);
int
open_script(const char *path, const char *mode)