mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Add helper macros to simplify fopAcM_ct-related version differences
This commit is contained in:
@@ -161,14 +161,10 @@ static BOOL useHeapInit(fopAc_ac_c* i_this) {
|
||||
/* 00000620-00000864 .text daNZG_Create__FP10fopAc_ac_c */
|
||||
static cPhs_State daNZG_Create(fopAc_ac_c* i_this) {
|
||||
nzg_class* nzg_this = (nzg_class*)i_this;
|
||||
#if VERSION > VERSION_DEMO
|
||||
fopAcM_ct(i_this, nzg_class);
|
||||
#endif
|
||||
fopAcM_ct_Retail(i_this, nzg_class);
|
||||
cPhs_State phase_state = dComIfG_resLoad(&nzg_this->mPhs, "NZG");
|
||||
if (phase_state == cPhs_COMPLEATE_e) {
|
||||
#if VERSION == VERSION_DEMO
|
||||
fopAcM_ct(i_this, nzg_class);
|
||||
#endif
|
||||
fopAcM_ct_Demo(i_this, nzg_class);
|
||||
if (!fopAcM_entrySolidHeap(&nzg_this->actor, useHeapInit, 0x680)) {
|
||||
return cPhs_ERROR_e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user