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
@@ -312,9 +312,7 @@ static BOOL checkCreateHeap(fopAc_ac_c* i_this) {
/* 00000ED8-0000101C .text create__11daNpc_kam_cFv */
cPhs_State daNpc_kam_c::create() {
#if VERSION > VERSION_DEMO
fopAcM_ct(this, daNpc_kam_c);
#endif
fopAcM_ct_Retail(this, daNpc_kam_c);
if (l_act != NULL && l_act != this) {
return cPhs_ERROR_e;
@@ -326,9 +324,7 @@ cPhs_State daNpc_kam_c::create() {
cPhs_State phase_state = dComIfG_resLoad(&mPhs, "Kamome");
if (phase_state == cPhs_COMPLEATE_e) {
#if VERSION == VERSION_DEMO
fopAcM_ct(this, daNpc_kam_c);
#endif
fopAcM_ct_Demo(this, daNpc_kam_c);
if (!fopAcM_entrySolidHeap(this, checkCreateHeap, l_heap_size)) {
#if VERSION > VERSION_DEMO