aboutsummaryrefslogtreecommitdiff
path: root/engines/griffon/cutscenes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/griffon/cutscenes.cpp')
-rw-r--r--engines/griffon/cutscenes.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/griffon/cutscenes.cpp b/engines/griffon/cutscenes.cpp
index c4612d4993..b80481ce5f 100644
--- a/engines/griffon/cutscenes.cpp
+++ b/engines/griffon/cutscenes.cpp
@@ -155,7 +155,13 @@ void GriffonEngine::showLogos() {
g_system->copyRectToScreen(_videoBuffer->getPixels(), _videoBuffer->pitch, 0, 0, _videoBuffer->w, _videoBuffer->h);
g_system->updateScreen();
- POLL_AND_CHECK_QUIT();
+ if (g_system->getEventManager()->pollEvent(_event)) {
+
+ if (_event.kbd.keycode == Common::KEYCODE_ESCAPE)
+ return;
+
+ CHECK_QUIT();
+ }
_ticksPassed = _ticks;
_ticks = g_system->getMillis();