mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
Zak graphical fixes.
svn-id: r3582
This commit is contained in:
parent
6cb652c26c
commit
176f476c47
8
gfx.cpp
8
gfx.cpp
@ -360,13 +360,11 @@ void Scumm::setPaletteFromPtr(byte *ptr) {
|
||||
int numcolor;
|
||||
|
||||
if( _features & GF_SMALL_HEADER ) {
|
||||
if (_features & GF_OLD256) {
|
||||
if (_features & GF_OLD256)
|
||||
numcolor = 256;
|
||||
ptr+=2;
|
||||
} else {
|
||||
else
|
||||
numcolor = READ_LE_UINT16(ptr+6) / 3;
|
||||
ptr+=8;
|
||||
}
|
||||
ptr+=8;
|
||||
} else {
|
||||
numcolor = getResourceDataSize(ptr) / 3;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user