diff options
-rw-r--r-- | engines/sci/gui/gui_palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_palette.cpp b/engines/sci/gui/gui_palette.cpp index 7dd6a4d9d0..dd32c3940c 100644 --- a/engines/sci/gui/gui_palette.cpp +++ b/engines/sci/gui/gui_palette.cpp @@ -84,7 +84,7 @@ void SciGuiPalette::createFromData(byte *data, GuiPalette *paletteOut) { for (colorNo = 0; colorNo < 256; colorNo++) { paletteOut->mapping[colorNo] = colorNo; } - if (data[0] == 0 && data[1] == 1) { + if ((data[0] == 0 && data[1] == 1) || (data[0] == 0 && data[1] == 0 && READ_LE_UINT16(data + 29) == 0)) { // SCI0/SCI1 palette palFormat = SCI_PAL_FORMAT_VARIABLE; // CONSTANT; palOffset = 260; |