mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25517
This commit is contained in:
parent
611d1a018e
commit
b2f9c5ab8e
@ -185,9 +185,15 @@ void AGOSEngine::restoreBlock(uint h, uint w, uint y, uint x) {
|
||||
}
|
||||
|
||||
void AGOSEngine::setTextColor(uint color) {
|
||||
WindowBlock *window;
|
||||
WindowBlock *window = _windowArray[_curWindow];
|
||||
|
||||
if ((getFeatures() & GF_32COLOR) && color != 0) {
|
||||
if (window->fill_color == 17)
|
||||
color = 25;
|
||||
else
|
||||
color = 12;
|
||||
}
|
||||
|
||||
window = _windowArray[_curWindow];
|
||||
window->text_color = color;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user