From 04f42acca06c705eeb49da50c58ff15f7611a7c1 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 14 Nov 2018 21:10:41 -0800 Subject: GLK: FROTZ: Allow exiting ScumMVM when waiting for a keypress --- engines/glk/frotz/processor_streams.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') 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 -- cgit v1.2.3