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 -8
View File
@@ -177,17 +177,11 @@ BOOL daMdoor_c::CreateInit() {
/* 000005E0-00000698 .text create__9daMdoor_cFv */
cPhs_State daMdoor_c::create() {
cPhs_State ret = dComIfG_resLoad(&mPhase, M_arcname);
#if VERSION == VERSION_DEMO
fopAcM_ct_Retail(this, daMdoor_c);
if (ret != cPhs_COMPLEATE_e) {
return ret;
}
fopAcM_ct(this, daMdoor_c);
#else
fopAcM_ct(this, daMdoor_c);
if (ret != cPhs_COMPLEATE_e) {
return ret;
}
#endif
fopAcM_ct_Demo(this, daMdoor_c);
if (!fopAcM_entrySolidHeap(this, CheckCreateHeap, 0x1640)) {
return cPhs_ERROR_e;