aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items
diff options
context:
space:
mode:
authorMatthew Hoops2014-04-23 20:30:52 -0400
committerMatthew Hoops2014-04-23 20:33:08 -0400
commit7011e8122e6f090ed540e4683a5229c8c471327e (patch)
tree3370c2f2cd1fb3ad4b5b8780bff305b926547ba7 /engines/pegasus/items
parentc949963a8a490ba9ef3c0046d9edc9f2a627ad2e (diff)
downloadscummvm-rg350-7011e8122e6f090ed540e4683a5229c8c471327e.tar.gz
scummvm-rg350-7011e8122e6f090ed540e4683a5229c8c471327e.tar.bz2
scummvm-rg350-7011e8122e6f090ed540e4683a5229c8c471327e.zip
PEGASUS: Poll for events in more places
Based on a patch by Keith Kaisershot (blitter)
Diffstat (limited to 'engines/pegasus/items')
-rw-r--r--engines/pegasus/items/inventorypicture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/pegasus/items/inventorypicture.cpp b/engines/pegasus/items/inventorypicture.cpp
index fc812faae2..bfdc382f5d 100644
--- a/engines/pegasus/items/inventorypicture.cpp
+++ b/engines/pegasus/items/inventorypicture.cpp
@@ -331,6 +331,7 @@ void InventoryItemsPicture::playEndMessage(DisplayElement *pushElement) {
endMessage.start();
while (endMessage.isRunning()) {
+ InputDevice.pumpEvents();
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);