Revert high-poly Banjo patch. Bring it back when heap allocation is expanded.

This commit is contained in:
Dario
2026-01-29 19:57:01 -03:00
parent 1a0d1053e9
commit 80963dd419
-24
View File
@@ -14,7 +14,6 @@ typedef struct {
extern f32 D_80383C98[3];
extern void func_80339124(Gfx **gfx, Mtx **mtx, BKGeoList *geo_list);
extern float gu_sqrtf(float val);
extern enum transformation_e bsStoredState_getTransformation(void);
// @recomp Patched to force all LODs to act as if they were a fixed distance from the camera.
RECOMP_PATCH void func_80338B50(Gfx **gfx, Mtx **mtx, void *arg2) {
@@ -30,26 +29,3 @@ RECOMP_PATCH void func_80338B50(Gfx **gfx, Mtx **mtx, void *arg2) {
}
}
}
// @recomp Patched to force the player Banjo & Kazooie model to always be high poly
RECOMP_PATCH s32 func_802985F0(void){
switch(bsStoredState_getTransformation())
{
case TRANSFORM_2_TERMITE:
return ASSET_34F_MODEL_BANJO_TERMITE;
case TRANSFORM_3_PUMPKIN:
return ASSET_36F_MODEL_BANJO_PUMPKIN;
case TRANSFORM_5_CROC:
return ASSET_374_MODEL_BANJO_CROC;
case TRANSFORM_4_WALRUS:
return ASSET_359_MODEL_BANJO_WALRUS;
case TRANSFORM_6_BEE:
return ASSET_362_MODEL_BANJO_BEE;
case TRANSFORM_7_WISHWASHY:
return ASSET_356_MODEL_BANJO_WISHYWASHY;
// @recomp Force high poly BK player model on all maps
case TRANSFORM_1_BANJO:
default:
return ASSET_34E_MODEL_BANJOKAZOOIE_HIGH_POLY;
}
}