mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-17 06:05:35 -04:00
Merge branch 'main' into 26-02-27-allocator-isolation
This commit is contained in:
@@ -292,7 +292,11 @@ static int bmd[2] = {
|
||||
0x11, 0x12,
|
||||
};
|
||||
|
||||
#ifdef TARGET_PC
|
||||
static int brk_res[2] = {
|
||||
#else
|
||||
static int brk[2] = {
|
||||
#endif
|
||||
0x17, 0x18,
|
||||
};
|
||||
|
||||
@@ -337,7 +341,11 @@ static int useHeapInit(fopAc_ac_c* i_this) {
|
||||
if (tp->mBrk == NULL) {
|
||||
return 0;
|
||||
}
|
||||
#ifdef TARGET_PC
|
||||
J3DAnmTevRegKey* regKey = (J3DAnmTevRegKey*)dComIfG_getObjectRes("Obj_tp", brk_res[tp->field_0x594]);
|
||||
#else
|
||||
J3DAnmTevRegKey* regKey = (J3DAnmTevRegKey*)dComIfG_getObjectRes("Obj_tp", brk[tp->field_0x594]);
|
||||
#endif
|
||||
J3DModelData* modelData = tp->mMorf->getModel()->getModelData();
|
||||
if (!tp->mBrk->init(
|
||||
modelData,
|
||||
|
||||
Reference in New Issue
Block a user