Some TARGET_PC fixes

This commit is contained in:
Luke Street
2026-02-28 13:16:02 -07:00
parent 3d97a07488
commit f501960314
11 changed files with 87 additions and 58 deletions
+8
View File
@@ -110,7 +110,11 @@ static int bmd[2] = {
6, 7,
};
#ifdef TARGET_PC
static int brk_res[2] = {
#else
static int brk[2] = {
#endif
10, 11,
};
@@ -144,7 +148,11 @@ static int useHeapInit(fopAc_ac_c* actor) {
return 0;
}
J3DAnmTevRegKey* anmTevKey = (J3DAnmTevRegKey*)dComIfG_getObjectRes(
#ifdef TARGET_PC
"Obj_gb", brk_res[i_this->field_0x57c]);
#else
"Obj_gb", brk[i_this->field_0x57c]);
#endif
if (i_this->mBrk->init(i_this->mModel->getModelData(), anmTevKey, 1, 2, 0.0f, 0, -1) == 0) {
return 0;
}