Add helper macros to simplify fopAcM_ct-related version differences

This commit is contained in:
LagoLunatic
2026-05-07 16:13:55 -04:00
parent e1f5b7e23b
commit cf210f963b
47 changed files with 102 additions and 311 deletions
+2 -7
View File
@@ -594,15 +594,10 @@ static cPhs_State daBeamCreate(void* i_this) {
/* 00001CA4-00001D34 .text _create__8daBeam_cFv */
cPhs_State daBeam_c::_create() {
#if VERSION == VERSION_DEMO
fopAcM_ct_Retail(this, daBeam_c);
cPhs_State PVar1 = dComIfG_resLoad(&mPhase, M_arcname);
if (PVar1 == cPhs_COMPLEATE_e) {
fopAcM_ct(this, daBeam_c);
#else
fopAcM_ct(this, daBeam_c);
cPhs_State PVar1 = dComIfG_resLoad(&mPhase, M_arcname);
if (PVar1 == cPhs_COMPLEATE_e) {
#endif
fopAcM_ct_Demo(this, daBeam_c);
if (fopAcM_entrySolidHeap(this, CheckCreateHeap, 0x22A0)) {
return CreateInit();
}