aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-10-02 21:22:14 -0400
committerMatthew Hoops2011-10-02 21:22:14 -0400
commitb31efb02b58e6f36807a5d98241fb9737e734300 (patch)
treef9e6712cd0670415780c60f1d3f42b5ad27f28ca
parent8c7ebc803383a87cf3199b12d5b3485b2685a873 (diff)
downloadscummvm-rg350-b31efb02b58e6f36807a5d98241fb9737e734300.tar.gz
scummvm-rg350-b31efb02b58e6f36807a5d98241fb9737e734300.tar.bz2
scummvm-rg350-b31efb02b58e6f36807a5d98241fb9737e734300.zip
PEGASUS: Fix draw sync functions
-rwxr-xr-xengines/pegasus/interface.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/pegasus/interface.cpp b/engines/pegasus/interface.cpp
index 4f9183bc47..e9daecbd07 100755
--- a/engines/pegasus/interface.cpp
+++ b/engines/pegasus/interface.cpp
@@ -574,6 +574,7 @@ void Interface::raiseInventoryDrawerSync() {
raiseInventoryDrawer(false);
while (_inventoryLid.isRunning()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
@@ -582,6 +583,7 @@ void Interface::raiseInventoryDrawerSync() {
inventoryLidOpen(false);
while (_inventoryPush.isFading()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
@@ -596,6 +598,7 @@ void Interface::lowerInventoryDrawerSync() {
lowerInventoryDrawer(false);
while (_inventoryPush.isFading()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
@@ -604,6 +607,7 @@ void Interface::lowerInventoryDrawerSync() {
inventoryDrawerDown(false);
while (_inventoryLid.isRunning()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
@@ -618,6 +622,7 @@ void Interface::raiseBiochipDrawerSync() {
raiseBiochipDrawer(false);
while (_biochipLid.isRunning()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
@@ -626,6 +631,7 @@ void Interface::raiseBiochipDrawerSync() {
biochipLidOpen(false);
while (_biochipPush.isFading()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
@@ -640,6 +646,7 @@ void Interface::lowerBiochipDrawerSync() {
lowerBiochipDrawer(false);
while (_biochipPush.isFading()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
@@ -648,6 +655,7 @@ void Interface::lowerBiochipDrawerSync() {
biochipDrawerDown(false);
while (_biochipLid.isRunning()) {
+ vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}