diff options
author | Torbjörn Andersson | 2006-10-14 14:16:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-10-14 14:16:16 +0000 |
commit | b4fcc3b17af8cf7f58b4ea02331602c92e906a4e (patch) | |
tree | 310c919d210eaa45c4ca95c231828430309dfb6d | |
parent | 2534fbe04c9a1990655288dcf703025593665190 (diff) | |
download | scummvm-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
-rw-r--r-- | engines/scumm/scumm.cpp | 4 |
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); |