diff options
author | Paul Gilbert | 2017-12-22 08:52:31 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-12-22 08:52:31 -0500 |
commit | 49de1602b0ddc87cbbf26181f83b3d41b253da65 (patch) | |
tree | 27b4841baea104863d41da7c17048e950d21312d /engines/xeen/detection.cpp | |
parent | c8c804ccd78cbf7cbfb8934ed1dda1e5bf2f44f2 (diff) | |
download | scummvm-rg350-49de1602b0ddc87cbbf26181f83b3d41b253da65.tar.gz scummvm-rg350-49de1602b0ddc87cbbf26181f83b3d41b253da65.tar.bz2 scummvm-rg350-49de1602b0ddc87cbbf26181f83b3d41b253da65.zip |
XEEN: Create a separate current state saver for each side
Previously, I only had a single savefile, which maintains the
state of the party and mazes. But I've realised that I'll need
a separate archive for each side of Xeen. I'm still not entirely
happy with the cleanliness of the new structure, but it at least
is now functionally separating the sides.
Diffstat (limited to 'engines/xeen/detection.cpp')
-rw-r--r-- | engines/xeen/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp index 0866d5f107..df3df4ffa7 100644 --- a/engines/xeen/detection.cpp +++ b/engines/xeen/detection.cpp @@ -144,7 +144,7 @@ SaveStateList XeenMetaEngine::listSaves(const char *target) const { Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(*file); if (in) { - Xeen::XeenEngine::readSavegameHeader(in, header); + Xeen::SavesManager::readSavegameHeader(in, header); saveList.push_back(SaveStateDescriptor(slot, header._saveName)); header._thumbnail->free(); @@ -172,7 +172,7 @@ SaveStateDescriptor XeenMetaEngine::querySaveMetaInfos(const char *target, int s if (f) { Xeen::XeenSavegameHeader header; - Xeen::XeenEngine::readSavegameHeader(f, header); + Xeen::SavesManager::readSavegameHeader(f, header); delete f; // Create the return descriptor |