SaveState: Split Do() into a separate header.

This commit is contained in:
Unknown W. Brackets
2020-08-10 08:03:41 +00:00
parent dd79d33f14
commit 4b4e3432cd
105 changed files with 1630 additions and 1556 deletions
+4 -3
View File
@@ -19,6 +19,7 @@
#include <set>
#include "Common/ChunkFile.h"
#include "Common/ChunkFileDo.h"
#include "Common/StringUtils.h"
#include "Core/FileSystems/MetaFileSystem.h"
#include "Core/HLE/sceKernelThread.h"
@@ -641,13 +642,13 @@ void MetaFileSystem::DoState(PointerWrap &p)
if (!s)
return;
p.Do(current);
Do(p, current);
// Save/load per-thread current directory map
p.Do(currentDir);
Do(p, currentDir);
u32 n = (u32) fileSystems.size();
p.Do(n);
Do(p, n);
bool skipPfat0 = false;
if (n != (u32) fileSystems.size())
{