GLK: ADVSYS: Fix restoring games in-game
This commit is contained in:
parent
1afd60cd3e
commit
66babe212e
2 changed files with 1 additions and 2 deletions
|
@ -83,7 +83,6 @@ void AdvSys::deinitialize() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AdvSys::singleAction() {
|
bool AdvSys::singleAction() {
|
||||||
debug("------------------");
|
|
||||||
// Do the before code
|
// Do the before code
|
||||||
switch (execute(_beforeOffset)) {
|
switch (execute(_beforeOffset)) {
|
||||||
case ABORT:
|
case ABORT:
|
||||||
|
|
|
@ -315,7 +315,7 @@ void VM::opSAVE() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void VM::opRESTORE() {
|
void VM::opRESTORE() {
|
||||||
if (saveGame().getCode() != Common::kNoError)
|
if (loadGame().getCode() != Common::kNoError)
|
||||||
print(_("Sorry, the savegame couldn't be restored"));
|
print(_("Sorry, the savegame couldn't be restored"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue