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 -9
View File
@@ -287,17 +287,10 @@ static cPhs_State daSk_Create(fopAc_ac_c* a_this) {
};
sk_class* i_this = (sk_class*)a_this;
#if VERSION == VERSION_DEMO
fopAcM_ct_Retail(a_this, sk_class);
cPhs_State PVar2 = dComIfG_resLoad(&i_this->mPhase, "Sk");
if (PVar2 == cPhs_COMPLEATE_e) {
fopAcM_ct(a_this, sk_class);
#else
fopAcM_ct(a_this, sk_class);
cPhs_State PVar2 = dComIfG_resLoad(&i_this->mPhase, "Sk");
if (PVar2 == cPhs_COMPLEATE_e) {
#endif
fopAcM_ct_Demo(a_this, sk_class);
i_this->m2B4 = fopAcM_GetParam(i_this);
if (i_this->m2B4 == 0xff) {
i_this->m2B4 = 0;