SkyTemple/c-of-time

Patch script overwrites static initializer start and end address

tech-ticks opened this issue · 1 comments

These fields are set to the segment at 0xc40 in the ExtraSpace patch, but the patcher script overwrites them.

Remove the following lines:

  overlay.staticInitStart = overlay_symbols_lookup['__init_array_start']
  overlay.staticInitEnd = overlay_symbols_lookup['__init_array_end']
  overlay.bssSize = 0 # .bss is included in the binary

Already fixed in #259