mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 18:02:05 +00:00
Extended comment on _CLUT_offs a bit
svn-id: r17315
This commit is contained in:
parent
bed1629642
commit
3ea3c42242
@ -2622,13 +2622,16 @@ void ScummEngine::initRoomSubBlocks() {
|
||||
}
|
||||
|
||||
// Locate the standard room palette (for V3-V5 games).
|
||||
// Note: We used to use findResourceSmall instead of findResourceData;
|
||||
// TODO: We used to use findResourceSmall instead of findResourceData;
|
||||
// in the small header case. That means we have to do some ugly trickery
|
||||
// in order to emulate the old behaviour. It would be very nice to get
|
||||
// rid of that. That would require some changes to the palette code.
|
||||
// In particular, it seems only setPaletteFromPtr would have to be
|
||||
// adapted, which would be trivial, since it now adds _resourceHeaderSize
|
||||
// to the palette pointer.
|
||||
//
|
||||
// And of course this would break savegame compatibility unless extra code
|
||||
// were added to the save/load system to cope with this.
|
||||
// Of course this would break savegame compatibility unless extra code
|
||||
// were added to the save/load system to cope with this.
|
||||
if (_features & GF_OLD_BUNDLE)
|
||||
ptr = 0;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user