mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
fixed costume code for OLD_BUNDLE (but boy, this is hackish... we rather should shift all the other costume datas by 2 or 4 bytes)
svn-id: r6994
This commit is contained in:
parent
bd2011467b
commit
951e5cfe98
@ -1184,11 +1184,17 @@ void CostumeRenderer::proc_special(byte mask2) {
|
||||
void LoadedCostume::loadCostume(int id) {
|
||||
_ptr = _vm->getResourceAddress(rtCostume, id);
|
||||
|
||||
if (_vm->_features & GF_AFTER_V6) {
|
||||
printf("Costume %d:\n", id);
|
||||
hexdump(_ptr, 0x40);
|
||||
|
||||
if (_vm->_features & GF_AFTER_V6)
|
||||
_ptr += 8;
|
||||
} else if (!(_vm->_features & GF_SMALL_HEADER)) {
|
||||
else if (_vm->_features & GF_OLD_BUNDLE)
|
||||
_ptr += -2;
|
||||
else if (_vm->_features & GF_SMALL_HEADER)
|
||||
_ptr += 0;
|
||||
else
|
||||
_ptr += 2;
|
||||
}
|
||||
|
||||
switch (_ptr[7] & 0x7F) {
|
||||
case 0x58:
|
||||
|
Loading…
x
Reference in New Issue
Block a user