Skip to content

Commit

Permalink
PEGASUS: Fix draw sync functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Oct 3, 2011
1 parent 8c7ebc8 commit b31efb0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions engines/pegasus/interface.cpp
Expand Up @@ -574,6 +574,7 @@ void Interface::raiseInventoryDrawerSync() {
raiseInventoryDrawer(false);

while (_inventoryLid.isRunning()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand All @@ -582,6 +583,7 @@ void Interface::raiseInventoryDrawerSync() {
inventoryLidOpen(false);

while (_inventoryPush.isFading()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand All @@ -596,6 +598,7 @@ void Interface::lowerInventoryDrawerSync() {
lowerInventoryDrawer(false);

while (_inventoryPush.isFading()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand All @@ -604,6 +607,7 @@ void Interface::lowerInventoryDrawerSync() {
inventoryDrawerDown(false);

while (_inventoryLid.isRunning()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand All @@ -618,6 +622,7 @@ void Interface::raiseBiochipDrawerSync() {
raiseBiochipDrawer(false);

while (_biochipLid.isRunning()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand All @@ -626,6 +631,7 @@ void Interface::raiseBiochipDrawerSync() {
biochipLidOpen(false);

while (_biochipPush.isFading()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand All @@ -640,6 +646,7 @@ void Interface::lowerBiochipDrawerSync() {
lowerBiochipDrawer(false);

while (_biochipPush.isFading()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand All @@ -648,6 +655,7 @@ void Interface::lowerBiochipDrawerSync() {
biochipDrawerDown(false);

while (_biochipLid.isRunning()) {
vm->checkCallBacks();
vm->refreshDisplay();
g_system->delayMillis(10);
}
Expand Down

0 comments on commit b31efb0

Please sign in to comment.