[Scummvm-git-logs] scummvm master -> 834be40ffa299896fef46e84368de2f371ff2a09

bgK bastien.bouclet at gmail.com
Mon Jul 3 06:11:49 CEST 2017

This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

834be40ffa MOHAWK: Poll for events in two inner game loops on Selenitic

Commit: 834be40ffa299896fef46e84368de2f371ff2a09
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2017-07-03T06:11:38+02:00

Commit Message:
MOHAWK: Poll for events in two inner game loops on Selenitic

This should hopefully prevent Windows from showing a 'busy' cursor.
Fixes Trac#9570.

Changed paths:

diff --git a/engines/mohawk/myst_stacks/selenitic.cpp b/engines/mohawk/myst_stacks/selenitic.cpp
index 454435c..815d40e 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->pollAndDiscardEvents();
 	_soundReceiverPosition = oldPosition;
@@ -870,6 +871,7 @@ void Selenitic::soundLockCheckSolution(MystAreaSlider *slider, uint16 value, uin
 	_vm->_sound->replaceSoundMyst(soundLockCurrentSound(value / 12, false));
+	_vm->pollAndDiscardEvents();
 	if (value / 12 != solution)
 		solved = false;

More information about the Scummvm-git-logs mailing list