mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 00:45:10 +00:00
KYRA: (EOB2) - fadeout subtitles on skip event
(to avoid slight color glitch in the Amiga version)
This commit is contained in:
parent
ce6a4ecd16
commit
f923ff6b3b
@ -1453,13 +1453,11 @@ void DarkmoonSequenceHelper::printText(int index, int color) {
|
||||
}
|
||||
|
||||
void DarkmoonSequenceHelper::fadeText() {
|
||||
if (_vm->skipFlag() || _vm->shouldQuit())
|
||||
return;
|
||||
|
||||
int rate = _vm->skipFlag() || _vm->shouldQuit() ? 16 : 8;
|
||||
if (_vm->gameFlags().platform == Common::kPlatformAmiga)
|
||||
_screen->fadeTextColor(_palettes[0], 31, 8);
|
||||
_screen->fadeTextColor(_palettes[0], 31, rate);
|
||||
else if (_vm->_configRenderMode != Common::kRenderEGA)
|
||||
_screen->fadeTextColor(_palettes[0], 255, 8);
|
||||
_screen->fadeTextColor(_palettes[0], 255, rate);
|
||||
|
||||
memset(_textColor, 0, 3);
|
||||
_screen->clearCurDim();
|
||||
|
Loading…
x
Reference in New Issue
Block a user