Regalloc/debug/misc fixes (#2794)

* Fix "0" asserts

* More debug and regalloc fixes

* Fix PTMF syntax for compatibility with other compilers

* Fix some fakematches, link more TUs for J/P
This commit is contained in:
LagoLunatic
2025-11-10 21:25:00 -05:00
committed by GitHub
parent a02f72d8f3
commit 23a1c94063
87 changed files with 314 additions and 607 deletions
-2
View File
@@ -355,7 +355,6 @@ static s16 s_TargetAngle;
} // namespace
/* 80742958-80742C94 000B58 033C+00 1/1 0/0 0/0 .text SearchFarP__8daE_PM_cFv */
// NONMATCHING regalloc, instruction order
void daE_PM_c::SearchFarP() {
//! @bug best_distance is not initialized
f32 best_distance;
@@ -2500,7 +2499,6 @@ void daE_PM_c::DamageAction() {
}
/* 8074A210-8074A3DC 008410 01CC+00 1/1 0/0 0/0 .text At_Check__8daE_PM_cFv */
// NONMATCHING regalloc
void daE_PM_c::At_Check() {
fopAc_ac_c* player = dComIfGp_getPlayer(0);
mAtInfo.mpCollider = mCcCyl.GetTgHitObj();