mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
GLK: ADVSYS: Fix restoring games in-game
This commit is contained in:
parent
1afd60cd3e
commit
66babe212e
@ -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…
Reference in New Issue
Block a user