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
+4 -4
View File
@@ -1006,7 +1006,7 @@ static void e_po_dead(e_po_class* i_this) {
}
break;
case 4:
case 4: {
J3DModel* model_p = i_this->mpMorf3->getModel();
for (i = 0; i < 4; i++) {
i_this->mParticleKeys[i] =
@@ -1051,7 +1051,7 @@ static void e_po_dead(e_po_class* i_this) {
i_this->field_0x788.y = i_this->mAcch.GetGroundH();
}
}
}
case 6:
if (i_this->field_0x74A[0] == 0) {
local_100 = a_this->current.pos - i_this->field_0x788;
@@ -2128,7 +2128,7 @@ static void e_po_holl_demo(e_po_class* i_this) {
i_this->mType = 22;
// Fallthrough
case 22:
case 22: {
if (mArg0Check(i_this, 7) != 0) {
cLib_addCalcPos(&i_this->field_0x844, mKcenterInit_dt[9], 0.5f, 20.0f, 10.0f);
cLib_addCalcPos(&i_this->field_0x838, mKeyeInit_dt[9], 0.5f, 20.0f, 10.0f);
@@ -2166,7 +2166,7 @@ static void e_po_holl_demo(e_po_class* i_this) {
i_this->field_0x7E2 = 0;
i_this->mType = 23;
// Fallthrough
}
case 23:
if (mHollDemoFlag < 24) {
i_this->field_0x74A[2] = 10;