[Scummvm-cvs-logs] SF.net SVN: scummvm: [24314] scummvm/trunk/engines/scumm/scumm.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sat Oct 14 16:16:20 CEST 2006
Revision: 24314
http://svn.sourceforge.net/scummvm/?rev=24314&view=rev
Author: eriktorbjorn
Date: 2006-10-14 07:16:16 -0700 (Sat, 14 Oct 2006)
Log Message:
-----------
Update the screen immediately after restoring the cursor on running a dialog.
This is a bit of a hack, but makes it less likely that the player will see a
brief cursor palette glitch when the GUI is disabled.
Modified Paths:
--------------
scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp 2006-10-14 13:51:01 UTC (rev 24313)
+++ scummvm/trunk/engines/scumm/scumm.cpp 2006-10-14 14:16:16 UTC (rev 24314)
@@ -2087,6 +2087,10 @@
updateCursor();
CursorMan.showMouse(visible);
+ // Update the screen to make it less likely that the player will see a
+ // brief cursor palette glitch when the GUI is disabled.
+ _system->updateScreen();
+
// Resume sound & video
_sound->pauseSounds(old_soundsPaused);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list