diff options
| author | Paul Gilbert | 2018-11-17 21:41:15 -0800 | 
|---|---|---|
| committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 | 
| commit | 41a437816999c913f30f3ef2c1c751f646399c91 (patch) | |
| tree | 26809d73851f630eb3e1096ddd2d5c0613248ddc /engines/glk/glk_api.cpp | |
| parent | 88b0e5d52fa26f64b089f1b8d406ada46434e6d3 (diff) | |
| download | scummvm-rg350-41a437816999c913f30f3ef2c1c751f646399c91.tar.gz scummvm-rg350-41a437816999c913f30f3ef2c1c751f646399c91.tar.bz2 scummvm-rg350-41a437816999c913f30f3ef2c1c751f646399c91.zip | |
GLK: SCOTT: Don't show another line prompt when game is exiting
Diffstat (limited to 'engines/glk/glk_api.cpp')
| -rw-r--r-- | engines/glk/glk_api.cpp | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/engines/glk/glk_api.cpp b/engines/glk/glk_api.cpp index 609401590a..e04040f67f 100644 --- a/engines/glk/glk_api.cpp +++ b/engines/glk/glk_api.cpp @@ -62,7 +62,10 @@ void GlkAPI::glk_exit(void) {  	glk_put_string("[ press any key to exit ]");  	_events->waitForPress(); +	// Trigger a ScumMVM shutdown of game  	quitGame(); +	Common::Event e; +	g_system->getEventManager()->pollEvent(e);  }  void GlkAPI::glk_set_interrupt_handler(void(*func)(void)) { | 
