diff options
author | Martin Kiewitz | 2010-06-21 10:14:04 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-21 10:14:04 +0000 |
commit | 98196b8af672ecbf42738487e659fe905163819a (patch) | |
tree | 8e3779f891a54e0740ca7a194eba8f58ceee506b /engines/sci | |
parent | 473ae1c11efd6833fd0a9172b9fc54ee6ef66211 (diff) | |
download | scummvm-rg350-98196b8af672ecbf42738487e659fe905163819a.tar.gz scummvm-rg350-98196b8af672ecbf42738487e659fe905163819a.tar.bz2 scummvm-rg350-98196b8af672ecbf42738487e659fe905163819a.zip |
SCI: GfxPalette::kernelSetIntensity() now also triggers throttler - somewhat "fixes" lb2cd when selecting play game
svn-id: r50108
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/palette.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp index 228e5dfced..bcf84095dc 100644 --- a/engines/sci/graphics/palette.cpp +++ b/engines/sci/graphics/palette.cpp @@ -395,8 +395,10 @@ void GfxPalette::kernelUnsetFlag(uint16 fromColor, uint16 toColor, uint16 flag) void GfxPalette::kernelSetIntensity(uint16 fromColor, uint16 toColor, uint16 intensity, bool setPalette) { memset(&_sysPalette.intensity[0] + fromColor, intensity, toColor - fromColor); - if (setPalette) + if (setPalette) { setOnScreen(); + g_sci->getEngineState()->_throttleTrigger = true; + } } int16 GfxPalette::kernelFindColor(uint16 r, uint16 g, uint16 b) { |