aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/jacl
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/jacl')
-rw-r--r--engines/glk/jacl/jacl_main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/jacl/jacl_main.cpp b/engines/glk/jacl/jacl_main.cpp
index c23bae7eea..7221986b56 100644
--- a/engines/glk/jacl/jacl_main.cpp
+++ b/engines/glk/jacl/jacl_main.cpp
@@ -304,6 +304,8 @@ void glk_main() {
while (!gotline) {
/* GRAB AN EVENT. */
g_vm->glk_select(&ev);
+ if (g_vm->shouldQuit())
+ return;
switch (ev.type) {