aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan3/utils.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-07-02 19:54:32 -0700
committerPaul Gilbert2019-07-06 15:27:09 -0700
commit6a4931106dfa426b8fc59f3ef871bd8b5e25b2db (patch)
treecea308a1b087a160c57819045bc1ccddd58e6c5b /engines/glk/alan3/utils.cpp
parent5dea66231397c52afc7d2cdeae5989fd5edd0604 (diff)
downloadscummvm-rg350-6a4931106dfa426b8fc59f3ef871bd8b5e25b2db.tar.gz
scummvm-rg350-6a4931106dfa426b8fc59f3ef871bd8b5e25b2db.tar.bz2
scummvm-rg350-6a4931106dfa426b8fc59f3ef871bd8b5e25b2db.zip
GLK: ALAN3: Wrap playererr and terminate methods in context
Diffstat (limited to 'engines/glk/alan3/utils.cpp')
-rw-r--r--engines/glk/alan3/utils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/alan3/utils.cpp b/engines/glk/alan3/utils.cpp
index 402cbe6a21..38176e1924 100644
--- a/engines/glk/alan3/utils.cpp
+++ b/engines/glk/alan3/utils.cpp
@@ -42,7 +42,7 @@ namespace Alan3 {
return buffers...
*/
-void terminate(int code) {
+void terminate(CONTEXT, int code) {
newline();
terminateStateStack();
@@ -53,6 +53,7 @@ void terminate(int code) {
deallocate(memory);
g_vm->glk_exit();
+ LONG_JUMP
}
/*======================================================================*/