diff options
author | Bastien Bouclet | 2017-07-03 06:08:27 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-07-03 06:11:38 +0200 |
commit | 834be40ffa299896fef46e84368de2f371ff2a09 (patch) | |
tree | 9d2fe2b380cc9632cc3b4311c01e3a8bf4a95840 | |
parent | fbb4cb9b319e2fecc483fe579f2a38c86aeb65f7 (diff) | |
download | scummvm-rg350-834be40ffa299896fef46e84368de2f371ff2a09.tar.gz scummvm-rg350-834be40ffa299896fef46e84368de2f371ff2a09.tar.bz2 scummvm-rg350-834be40ffa299896fef46e84368de2f371ff2a09.zip |
MOHAWK: Poll for events in two inner game loops on Selenitic
This should hopefully prevent Windows from showing a 'busy' cursor.
Fixes Trac#9570.
-rw-r--r-- | engines/mohawk/myst_stacks/selenitic.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/myst_stacks/selenitic.cpp b/engines/mohawk/myst_stacks/selenitic.cpp index 454435cf92..815d40e88e 100644 --- a/engines/mohawk/myst_stacks/selenitic.cpp +++ b/engines/mohawk/myst_stacks/selenitic.cpp @@ -609,6 +609,7 @@ void Selenitic::o_soundReceiverSigma(uint16 op, uint16 var, uint16 argc, uint16 uint16 soundId = soundReceiverCurrentSound(source, *_soundReceiverPosition); _vm->_sound->replaceBackgroundMyst(soundId); _vm->_system->delayMillis(1000); + _vm->pollAndDiscardEvents(); } _soundReceiverPosition = oldPosition; @@ -870,6 +871,7 @@ void Selenitic::soundLockCheckSolution(MystAreaSlider *slider, uint16 value, uin slider->drawConditionalDataToScreen(2); _vm->_sound->replaceSoundMyst(soundLockCurrentSound(value / 12, false)); _vm->_system->delayMillis(1500); + _vm->pollAndDiscardEvents(); if (value / 12 != solution) solved = false; |