Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Arisotura/melonDS
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisotura committed Apr 26, 2021
2 parents d77d4ff + 5a90630 commit 7af5ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Savestate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -289,4 +289,4 @@ void Savestate::VarArray(void* data, u32 len)
{
fread(data, len, 1, file);
}
}
}

0 comments on commit 7af5ff7

Please sign in to comment.