aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/advsys
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/advsys')
-rw-r--r--engines/glk/advsys/advsys.cpp1
-rw-r--r--engines/glk/advsys/vm.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/engines/glk/advsys/advsys.cpp b/engines/glk/advsys/advsys.cpp
index c65cd1806f..a61033a506 100644
--- a/engines/glk/advsys/advsys.cpp
+++ b/engines/glk/advsys/advsys.cpp
@@ -83,7 +83,6 @@ void AdvSys::deinitialize() {
}
bool AdvSys::singleAction() {
- debug("------------------");
// Do the before code
switch (execute(_beforeOffset)) {
case ABORT:
diff --git a/engines/glk/advsys/vm.cpp b/engines/glk/advsys/vm.cpp
index 13929aed8e..1cb42dad7b 100644
--- a/engines/glk/advsys/vm.cpp
+++ b/engines/glk/advsys/vm.cpp
@@ -315,7 +315,7 @@ void VM::opSAVE() {
}
void VM::opRESTORE() {
- if (saveGame().getCode() != Common::kNoError)
+ if (loadGame().getCode() != Common::kNoError)
print(_("Sorry, the savegame couldn't be restored"));
}