aboutsummaryrefslogtreecommitdiff
path: root/engines/glk
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-16 18:56:39 -0700
committerPaul Gilbert2019-06-16 18:56:39 -0700
commit66babe212e7984c7c4ba25f14f5b37fe8af354ae (patch)
tree526711ae3f6c0257686302a4847fc18b6c7037f3 /engines/glk
parent1afd60cd3e98725c59daf9cdc7a40655c454fb81 (diff)
downloadscummvm-rg350-66babe212e7984c7c4ba25f14f5b37fe8af354ae.tar.gz
scummvm-rg350-66babe212e7984c7c4ba25f14f5b37fe8af354ae.tar.bz2
scummvm-rg350-66babe212e7984c7c4ba25f14f5b37fe8af354ae.zip
GLK: ADVSYS: Fix restoring games in-game
Diffstat (limited to 'engines/glk')
-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"));
}