use hack for OK

This commit is contained in:
SwareJonge 2023-08-25 16:31:51 +02:00
parent dcea16bab6
commit 83099145f4
2 changed files with 7 additions and 1 deletions

View File

@ -731,4 +731,9 @@ src/Yamamoto/KartTire.cpp:
src/Yamamoto/KartApeendix.cpp:
.text: [0x80312154, 0x8031228c]
.ctors: [0x80316648, 0x8031664c]
.bss: [0x803ef4d0, 0x803ef500]
.bss: [0x803ef4d0, 0x803ef500]
# BUG: mwld aligns .ctors by 8 under certain conditions, ppcdis should take care of this normally but it doesn't use the trimmed length
# use an empty .s as workaround to get the correct en offset
src/ctorhack.s:
.ctors: [0x8031665c, 0x80316660]

1
src/ctorhack.s Normal file
View File

@ -0,0 +1 @@
# there totally is code in this file, needed to bypass a bug caused by trim_ctors