mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
SCUMM: MI1 (Sega CD): Fix message banner colors
This commit is contained in:
parent
617e7f6077
commit
0f93142ac9
@ -131,6 +131,16 @@ Common::KeyState ScummEngine::showBannerAndPause(int bannerId, int32 waitTime, c
|
||||
bottomLineColor = 8;
|
||||
leftLineColor = 15;
|
||||
rightLineColor = 8;
|
||||
} else if (_game.id == GID_MONKEY && _game.platform == Common::kPlatformSegaCD) {
|
||||
// AFAIK, the original Sega CD interpreter doesn't have message banners, it just
|
||||
// shows the main menu box (e.g. when pausing). In here, we can show the banner,
|
||||
// but let's use the main menu box colors to avoid using unintended colors.
|
||||
normalFillColor = getBannerColor(4);
|
||||
normalTextColor = getBannerColor(2);
|
||||
topLineColor = getBannerColor(13);
|
||||
bottomLineColor = getBannerColor(14);
|
||||
leftLineColor = getBannerColor(15);
|
||||
rightLineColor = getBannerColor(16);
|
||||
} else {
|
||||
int palOffset = (_game.version == 8) ? 0 : 11;
|
||||
normalFillColor = getBannerColor(6 * bannerId + 15 + palOffset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user