aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/saveload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toltecs/saveload.cpp')
-rw-r--r--engines/toltecs/saveload.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/toltecs/saveload.cpp b/engines/toltecs/saveload.cpp
index da62da40f4..d758fa712d 100644
--- a/engines/toltecs/saveload.cpp
+++ b/engines/toltecs/saveload.cpp
@@ -193,11 +193,13 @@ void ToltecsEngine::loadgame(const char *filename) {
Common::Error ToltecsEngine::loadGameState(int slot) {
const char *fileName = getSavegameFilename(slot);
loadgame(fileName);
+ return Common::kNoError;
}
Common::Error ToltecsEngine::saveGameState(int slot, const char *description) {
const char *fileName = getSavegameFilename(slot);
savegame(fileName, description);
+ return Common::kNoError;
}
const char *ToltecsEngine::getSavegameFilename(int num) {