mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 19:32:11 +00:00
GLK: FROTZ: Fix exiting when application is forcefully closed
This commit is contained in:
parent
af081ad322
commit
d9e7fca83c
@ -155,7 +155,7 @@ void GlkInterface::initialize() {
|
||||
|
||||
// Use the ms-dos interpreter number for v6, because that's the
|
||||
// kind of graphics files we understand. Otherwise, use DEC.
|
||||
h_interpreter_number = h_version == 6 ? INTERP_MSDOS : INTERP_DEC_20;
|
||||
h_interpreter_number = h_version == 6 ? INTERP_MSDOS : INTERP_AMIGA;
|
||||
h_interpreter_version = 'F';
|
||||
|
||||
{
|
||||
|
@ -285,7 +285,7 @@ void Processor::interpret() {
|
||||
if (end_of_sound_flag)
|
||||
end_of_sound();
|
||||
#endif
|
||||
} while (!_finished);
|
||||
} while (!shouldQuit() && !_finished);
|
||||
|
||||
_finished--;
|
||||
}
|
||||
|
@ -182,6 +182,8 @@ continue_input:
|
||||
key = replay_read_input(buf);
|
||||
else
|
||||
key = console_read_input(max, buf, timeout, key != ZC_BAD);
|
||||
if (shouldQuit())
|
||||
return ZC_BAD;
|
||||
} while (key == ZC_BAD);
|
||||
|
||||
// Copy input line to the command file
|
||||
|
Loading…
Reference in New Issue
Block a user