Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/scummvm/scummvm
Browse files Browse the repository at this point in the history
  • Loading branch information
athrxx committed May 15, 2011
2 parents 0001b7a + 8112247 commit 5075d64
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions engines/tsage/converse.cpp
Expand Up @@ -418,8 +418,10 @@ int ConversationChoiceDialog::execute(const Common::StringArray &choiceList) {
Event event;
while (!_vm->getEventManager()->shouldQuit()) {
while (!_globals->_events.getEvent(event, EVENT_KEYPRESS | EVENT_BUTTON_DOWN | EVENT_MOUSE_MOVE) &&
!_vm->getEventManager()->shouldQuit())
;
!_vm->getEventManager()->shouldQuit()) {
g_system->delayMillis(10);
g_system->updateScreen();
}
if (_vm->getEventManager()->shouldQuit())
break;

Expand Down
6 changes: 4 additions & 2 deletions engines/tsage/dialogs.cpp
Expand Up @@ -468,8 +468,10 @@ void InventoryDialog::execute() {
while (!_vm->getEventManager()->shouldQuit()) {
// Get events
Event event;
while (!_globals->_events.getEvent(event) && !_vm->getEventManager()->shouldQuit())
;
while (!_globals->_events.getEvent(event) && !_vm->getEventManager()->shouldQuit()) {
g_system->delayMillis(10);
g_system->updateScreen();
}
if (_vm->getEventManager()->shouldQuit())
return;

Expand Down
2 changes: 2 additions & 0 deletions engines/tsage/graphics.cpp
Expand Up @@ -991,6 +991,8 @@ GfxButton *GfxDialog::execute(GfxButton *defaultButton) {
break;
}
}
g_system->delayMillis(10);
g_system->updateScreen();
}

_gfxManager.deactivate();
Expand Down

0 comments on commit 5075d64

Please sign in to comment.