mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 04:43:26 +00:00
SCI: GfxPalette::kernelSetIntensity() now also triggers throttler - somewhat "fixes" lb2cd when selecting play game
svn-id: r50108
This commit is contained in:
parent
473ae1c11e
commit
98196b8af6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user