From 5a9063089cd02afc49c30d8add9fa6d5159a6155 Mon Sep 17 00:00:00 2001 From: Tatsh Date: Mon, 26 Apr 2021 17:21:58 -0400 Subject: Savestate: use Platform::OpenLocalFile (#1026) --- src/Savestate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Savestate.cpp b/src/Savestate.cpp index bd63564..1af2694 100644 --- a/src/Savestate.cpp +++ b/src/Savestate.cpp @@ -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); @@ -289,4 +289,4 @@ void Savestate::VarArray(void* data, u32 len) { fread(data, len, 1, file); } -} \ No newline at end of file +} -- cgit v1.2.3