mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-31 22:53:54 +00:00
fix dumping of exit/entry scripts for older games
svn-id: r5388
This commit is contained in:
parent
b99afecb41
commit
ad2f7cc8e4
@ -717,7 +717,10 @@ void Scumm::initRoomSubBlocks()
|
||||
if (ptr) {
|
||||
_EXCD_offs = ptr - roomptr;
|
||||
#ifdef DUMP_SCRIPTS
|
||||
dumpResource("exit-", _roomResource, ptr - 8);
|
||||
if (_features & GF_SMALL_HEADER)
|
||||
dumpResource("exit-", _roomResource, ptr - 6);
|
||||
else
|
||||
dumpResource("exit-", _roomResource, ptr - 8);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -725,7 +728,10 @@ void Scumm::initRoomSubBlocks()
|
||||
if (ptr) {
|
||||
_ENCD_offs = ptr - roomptr;
|
||||
#ifdef DUMP_SCRIPTS
|
||||
dumpResource("entry-", _roomResource, ptr - 8);
|
||||
if (_features & GF_SMALL_HEADER)
|
||||
dumpResource("entry-", _roomResource, ptr - 6);
|
||||
else
|
||||
dumpResource("entry-", _roomResource, ptr - 8);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user