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 -7
View File
@@ -81,15 +81,10 @@ void daObjLpalm_c::CreateInit() {
}
cPhs_State daObjLpalm_c::_create() {
#if VERSION == VERSION_DEMO
fopAcM_ct_Retail(this, daObjLpalm_c);
cPhs_State ret = dComIfG_resLoad(&mPhs, M_arcname);
if (ret == cPhs_COMPLEATE_e) {
fopAcM_ct(this, daObjLpalm_c);
#else
fopAcM_ct(this, daObjLpalm_c);
cPhs_State ret = dComIfG_resLoad(&mPhs, M_arcname);
if (ret == cPhs_COMPLEATE_e) {
#endif
fopAcM_ct_Demo(this, daObjLpalm_c);
if (fopAcM_entrySolidHeap(this, CheckCreateHeap, 0xf00) == 0) {
ret = cPhs_ERROR_e;
} else {