aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/glk/frotz/processor_streams.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/frotz/processor_streams.cpp b/engines/glk/frotz/processor_streams.cpp
index 581eb1e928..93b9c0bb91 100644
--- a/engines/glk/frotz/processor_streams.cpp
+++ b/engines/glk/frotz/processor_streams.cpp
@@ -145,6 +145,8 @@ continue_input:
key = replay_read_key();
else
key = console_read_key(timeout);
+ if (shouldQuit())
+ return ZC_BAD;
} while (key == ZC_BAD);
// Copy key to the command file