aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-10-14 14:16:16 +0000
committerTorbjörn Andersson2006-10-14 14:16:16 +0000
commitb4fcc3b17af8cf7f58b4ea02331602c92e906a4e (patch)
tree310c919d210eaa45c4ca95c231828430309dfb6d /engines/scumm/scumm.cpp
parent2534fbe04c9a1990655288dcf703025593665190 (diff)
downloadscummvm-rg350-b4fcc3b17af8cf7f58b4ea02331602c92e906a4e.tar.gz
scummvm-rg350-b4fcc3b17af8cf7f58b4ea02331602c92e906a4e.tar.bz2
scummvm-rg350-b4fcc3b17af8cf7f58b4ea02331602c92e906a4e.zip
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. svn-id: r24314
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 8a26126600..de8793dedc 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -2087,6 +2087,10 @@ int ScummEngine::runDialog(Dialog &dialog) {
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);