diff options
Diffstat (limited to 'engines/kyra/saveload.cpp')
-rw-r--r-- | engines/kyra/saveload.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/kyra/saveload.cpp b/engines/kyra/saveload.cpp index 5f94c1321d..9fea2f0ea1 100644 --- a/engines/kyra/saveload.cpp +++ b/engines/kyra/saveload.cpp @@ -244,19 +244,9 @@ bool KyraEngine_v1::saveFileLoadable(int slot) { return false; } -Common::Error KyraEngine_v1::loadGameState(int slot) { - if (!_isSaveAllowed) - return Common::kUnknownError; // FIXME - - const char *filename = getSavegameFilename(slot); - loadGame(filename); - - return Common::kNoError; -} - void KyraEngine_v1::checkAutosave() { if (shouldPerformAutoSave(_lastAutosave)) { - saveGame(getSavegameFilename(999), "Autosave", 0); + saveGameState(999, "Autosave", 0); _lastAutosave = _system->getMillis(); } } |