Skip to content

Commit 7af5ff7

Browse files
committed
Merge branch 'master' of https://github.com/Arisotura/melonDS
2 parents d77d4ff + 5a90630 commit 7af5ff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Savestate.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Savestate::Savestate(const char* filename, bool save)
5252
if (save)
5353
{
5454
Saving = true;
55-
file = Platform::OpenFile(filename, "wb");
55+
file = Platform::OpenLocalFile(filename, "wb");
5656
if (!file)
5757
{
5858
printf("savestate: file %s doesn't exist\n", filename);
@@ -289,4 +289,4 @@ void Savestate::VarArray(void* data, u32 len)
289289
{
290290
fread(data, len, 1, file);
291291
}
292-
}
292+
}

0 commit comments

Comments
 (0)