aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsh <Tatsh@users.noreply.github.com>2021-04-26 17:21:58 -0400
committerGitHub <noreply@github.com>2021-04-26 23:21:58 +0200
commit5a9063089cd02afc49c30d8add9fa6d5159a6155 (patch)
tree173d30fead7a893af84413c3e1b7acd24d5aa802 /src
parent6691c6903bfd25a983457e241f0099e421012715 (diff)
Savestate: use Platform::OpenLocalFile (#1026)
Diffstat (limited to 'src')
-rw-r--r--src/Savestate.cpp4
1 files changed, 2 insertions, 2 deletions
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
+}