diff options
author | Paul Gilbert | 2019-07-05 20:12:52 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 15:27:09 -0700 |
commit | f28d3b74969896d048ec57aa7e0200f258205423 (patch) | |
tree | 173cd293e94ac6b71cfebf7b1b14da46b1841429 /engines/glk/alan3/inter.cpp | |
parent | 3165fa628ab44022ee8370d0244137295f3c59f1 (diff) | |
download | scummvm-rg350-f28d3b74969896d048ec57aa7e0200f258205423.tar.gz scummvm-rg350-f28d3b74969896d048ec57aa7e0200f258205423.tar.bz2 scummvm-rg350-f28d3b74969896d048ec57aa7e0200f258205423.zip |
GLK: ALAN3: Further refactoring of setjmp calls
Diffstat (limited to 'engines/glk/alan3/inter.cpp')
-rw-r--r-- | engines/glk/alan3/inter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/glk/alan3/inter.cpp b/engines/glk/alan3/inter.cpp index 3647548a41..4708cf8bd3 100644 --- a/engines/glk/alan3/inter.cpp +++ b/engines/glk/alan3/inter.cpp @@ -590,7 +590,7 @@ void interpret(CONTEXT, Aaddr adr) { case I_QUIT: { if (traceInstructionOption) printf("QUIT\t\t\t\t\t\t"); - quitGame(); + CALL0(quitGame) break; } case I_LOOK: { @@ -602,19 +602,19 @@ void interpret(CONTEXT, Aaddr adr) { case I_SAVE: { if (traceInstructionOption) printf("SAVE\t\t\t\t\t\t"); - g_vm->saveGame(); + (void)g_vm->saveGame(); break; } case I_RESTORE: { if (traceInstructionOption) printf("RESTORE\t\t\t\t\t\t"); - g_vm->loadGame(); + (void)g_vm->loadGame(); break; } case I_RESTART: { if (traceInstructionOption) printf("RESTART\t\t\t\t\t\t"); - restartGame(); + CALL0(restartGame) break; } |