mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
SaveState: Split Do() into a separate header.
This commit is contained in:
1 parent
dd79d33f14
commit
4b4e3432cd
105 files changed
+1630
-1556
No files matched your search
+3
-2
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/ChunkFile.h"
|
||||
#include "Common/ChunkFileDo.h"
|
||||
|
||||
#include "Core/SaveState.h"
|
||||
#include "Core/Config.h"
|
||||
@@ -274,11 +275,11 @@ namespace SaveState
|
||||
if (s >= 2) {
|
||||
// This only increments on save, of course.
|
||||
++saveStateGeneration;
|
||||
p.Do(saveStateGeneration);
|
||||
Do(p, saveStateGeneration);
|
||||
// This saves the first git version to create this save state (or generation of save states.)
|
||||
if (saveStateInitialGitVersion.empty())
|
||||
saveStateInitialGitVersion = PPSSPP_GIT_VERSION;
|
||||
p.Do(saveStateInitialGitVersion);
|
||||
Do(p, saveStateInitialGitVersion);
|
||||
} else {
|
||||
saveStateGeneration = 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user