mirror of
https://github.com/badvision/lawless-legends.git
synced 2025-02-23 09:29:00 +00:00
Fix for number of fixups > 127
This commit is contained in:
parent
6dee0388b1
commit
47d86a3dca
@ -1147,7 +1147,7 @@ class A2PackPartitions
|
||||
assert fixupType == 0x81 || fixupType == 0x91 // We can only handle WORD sized INTERN or EXTERN fixups
|
||||
int addr = fixup[sp++] & 0xFF
|
||||
addr |= (fixup[sp++] & 0xFF) << 8
|
||||
esdIndex = fixup[sp++]
|
||||
esdIndex = fixup[sp++] & 0xFF
|
||||
|
||||
// Fixups can be in the asm section or in the bytecode section. Figure out which this is.
|
||||
addr += 2 // apparently offsets don't include the header length
|
||||
|
Loading…
x
Reference in New Issue
Block a user