mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
SCI/newgui: fixed EGA palette code in SciGuiPicture so that palettes 1+ get applied correctly (fixes qfg1 nighttime)
svn-id: r45348
This commit is contained in:
parent
8fa9f9b0ee
commit
bed7206ee3
@ -304,7 +304,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) {
|
||||
byte pic_color = 0, pic_priority = 255, pic_control = 255;
|
||||
int16 x = 0, y = 0, oldx, oldy;
|
||||
byte EGApalettes[PIC_EGAPALETTE_TOTALSIZE] = {0};
|
||||
byte *EGApalette = &EGApalettes[_EGApaletteNo];
|
||||
byte *EGApalette = &EGApalettes[_EGApaletteNo * PIC_EGAPALETTE_SIZE];
|
||||
byte EGApriority[PIC_EGAPRIORITY_SIZE] = {0};
|
||||
bool isEGA = false;
|
||||
int curPos = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user