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 -6
View File
@@ -189,15 +189,11 @@ static BOOL useHeapInit(fopAc_ac_c* i_this) {
/* 0000081C-00000A90 .text daJBO_Create__FP10fopAc_ac_c */
static cPhs_State daJBO_Create(fopAc_ac_c* i_this) {
#if VERSION > VERSION_DEMO
fopAcM_ct(i_this, jbo_class);
#endif
fopAcM_ct_Retail(i_this, jbo_class);
jbo_class* a_this = (jbo_class*)i_this;
cPhs_State state = dComIfG_resLoad(&a_this->mPhs, "JBO");
if (state == cPhs_COMPLEATE_e) {
#if VERSION == VERSION_DEMO
fopAcM_ct(i_this, jbo_class);
#endif
fopAcM_ct_Demo(i_this, jbo_class);
if (!fopAcM_entrySolidHeap(i_this, &useHeapInit, 0x1c20)) {
return cPhs_ERROR_e;
} else {