Savestate: use Platform::OpenLocalFile (#1026)
This commit is contained in:
parent
6691c6903b
commit
5a9063089c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue