mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
Unbreak basic Kyra1 amiga in game support, by disabling some palette code for the amiga version.
svn-id: r43188
This commit is contained in:
parent
300297d557
commit
5a7f85fbf6
@ -449,7 +449,8 @@ int GUI_LoK::buttonMenuCallback(Button *caller) {
|
||||
return 0;
|
||||
}
|
||||
// XXX
|
||||
_screen->setPaletteIndex(0xFE, 60, 60, 0);
|
||||
if (_vm->gameFlags().platform != Common::kPlatformAmiga)
|
||||
_screen->setPaletteIndex(0xFE, 60, 60, 0);
|
||||
for (int i = 0; i < 6; i++) {
|
||||
_menuButtonData[i].data0Val1 = _menuButtonData[i].data1Val1 = _menuButtonData[i].data2Val1 = 4;
|
||||
_menuButtonData[i].data0Callback = _redrawShadedButtonFunctor;
|
||||
|
@ -324,7 +324,8 @@ void KyraEngine_LoK::drawSentenceCommand(const char *sentence, int color) {
|
||||
_screen->hideMouse();
|
||||
_screen->fillRect(8, 143, 311, 152, 12);
|
||||
|
||||
if (_startSentencePalIndex != color || _fadeText != false) {
|
||||
// TODO: Amiga support
|
||||
if ((_startSentencePalIndex != color || _fadeText != false) && _flags.platform != Common::kPlatformAmiga) {
|
||||
_currSentenceColor[0] = _screen->getPalette(0)[765] = _screen->getPalette(0)[color*3];
|
||||
_currSentenceColor[1] = _screen->getPalette(0)[766] = _screen->getPalette(0)[color*3+1];
|
||||
_currSentenceColor[2] = _screen->getPalette(0)[767] = _screen->getPalette(0)[color*3+2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user