mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-20 05:37:03 -04:00
Add helper macros to simplify fopAcM_ct-related version differences
This commit is contained in:
@@ -54,19 +54,12 @@ BOOL daDemo_Kmm_c::CreateInit() {
|
||||
|
||||
/* 00000308-000003A0 .text create__12daDemo_Kmm_cFv */
|
||||
cPhs_State daDemo_Kmm_c::create() {
|
||||
#if VERSION == DEMO
|
||||
fopAcM_ct_Retail(this, daDemo_Kmm_c);
|
||||
cPhs_State ret = dComIfG_resLoad(&this->mPhase, M_arcname);
|
||||
if (ret != cPhs_COMPLEATE_e) {
|
||||
return ret;
|
||||
}
|
||||
fopAcM_ct(this, daDemo_Kmm_c);
|
||||
#else
|
||||
fopAcM_ct(this, daDemo_Kmm_c);
|
||||
cPhs_State ret = dComIfG_resLoad(&this->mPhase, M_arcname);
|
||||
if (ret != cPhs_COMPLEATE_e) {
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
fopAcM_ct_Demo(this, daDemo_Kmm_c);
|
||||
|
||||
if (!fopAcM_entrySolidHeap(this, CheckCreateHeap, 0x5700)) {
|
||||
return cPhs_ERROR_e;
|
||||
|
||||
Reference in New Issue
Block a user