Merge pull request #7984 from JosJuice/root-path-savestate

IOS/FS: Don't savestate m_root_path
This commit is contained in:
JosJuice 2019-04-12 22:37:21 +02:00 committed by GitHub
commit 635fd8c22c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -53,8 +53,6 @@ HostFileSystem::~HostFileSystem() = default;
void HostFileSystem::DoState(PointerWrap& p) void HostFileSystem::DoState(PointerWrap& p)
{ {
p.Do(m_root_path);
// Temporarily close the file, to prevent any issues with the savestating of /tmp // Temporarily close the file, to prevent any issues with the savestating of /tmp
for (Handle& handle : m_handles) for (Handle& handle : m_handles)
handle.host_file.reset(); handle.host_file.reset();

View File

@ -74,7 +74,7 @@ static Common::Event g_compressAndDumpStateSyncEvent;
static std::thread g_save_thread; static std::thread g_save_thread;
// Don't forget to increase this after doing changes on the savestate system // 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. // Maps savestate versions to Dolphin versions.
// Versions after 42 don't need to be added to this list, // Versions after 42 don't need to be added to this list,