mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-29 21:24:53 +00:00
SCI: adding comment about palette formats
svn-id: r50847
This commit is contained in:
parent
b97ef271c7
commit
8171093614
@ -109,6 +109,8 @@ void GfxPalette::createFromData(byte *data, int bytesLeft, Palette *paletteOut)
|
||||
warning("GfxPalette::createFromData() - not enough bytes in resource, expected palette header");
|
||||
return;
|
||||
}
|
||||
// palette formats in here are not really version exclusive, we can not use sci-version to differentiate between them
|
||||
// they were just called that way, because they started appearing in sci1.1 for example
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user