Skip to content

Commit

Permalink
Merge pull request #7984 from JosJuice/root-path-savestate
Browse files Browse the repository at this point in the history
IOS/FS: Don't savestate m_root_path
  • Loading branch information
JosJuice committed Apr 12, 2019
2 parents 2a1dee4 + 822acf9 commit 635fd8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Source/Core/Core/IOS/FS/HostBackend/FS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ HostFileSystem::~HostFileSystem() = default;

void HostFileSystem::DoState(PointerWrap& p)
{
p.Do(m_root_path);

// Temporarily close the file, to prevent any issues with the savestating of /tmp
for (Handle& handle : m_handles)
handle.host_file.reset();
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/State.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
static std::thread g_save_thread;

// Don't forget to increase this after doing changes on the savestate system
static const u32 STATE_VERSION = 105; // Last changed in PR 7871
static const u32 STATE_VERSION = 106; // Last changed in PR 7984

// Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list,
Expand Down

0 comments on commit 635fd8c

Please sign in to comment.