Savestate: use Platform::OpenLocalFile (#1026)

This commit is contained in:
Tatsh 2021-04-26 17:21:58 -04:00 committed by GitHub
parent 6691c6903b
commit 5a9063089c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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