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
@@ -93,17 +93,11 @@ bool daAtdoor_c::CreateInit() {
/* 0000036C-00000418 .text create__10daAtdoor_cFv */
cPhs_State daAtdoor_c::create() {
cPhs_State ret = dComIfG_resLoad(&mPhase, daAtdoor_c::M_arcname);
#if VERSION == VERSION_DEMO
fopAcM_ct_Retail(this, daAtdoor_c);
if (ret != cPhs_COMPLEATE_e) {
return ret;
}
fopAcM_ct(this, daAtdoor_c);
#else
fopAcM_ct(this, daAtdoor_c);
if (ret != cPhs_COMPLEATE_e) {
return ret;
}
#endif
fopAcM_ct_Demo(this, daAtdoor_c);
if (!fopAcM_entrySolidHeap(this, CheckCreateHeap, 0x1580)) {
return cPhs_ERROR_e;