aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-04-26 23:24:57 +0200
committerArisotura <thetotalworm@gmail.com>2021-04-26 23:24:57 +0200
commit7af5ff76edf5ff2070377d2f719261b7a92e2ab1 (patch)
tree1c5ef1f46efb20f069247cfe6b4c36afebeb393d /src
parentd77d4ffc13006326661545af88e5f4258fba2b93 (diff)
parent5a9063089cd02afc49c30d8add9fa6d5159a6155 (diff)
Merge branch 'master' of https://github.com/Arisotura/melonDS
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
+}