This commit is contained in:
Arisotura 2021-04-26 23:24:57 +02:00
commit 7af5ff76ed
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ Savestate::Savestate(const char* filename, bool save)
if (save) if (save)
{ {
Saving = true; Saving = true;
file = Platform::OpenFile(filename, "wb"); file = Platform::OpenLocalFile(filename, "wb");
if (!file) if (!file)
{ {
printf("savestate: file %s doesn't exist\n", filename); printf("savestate: file %s doesn't exist\n", filename);