From 80963dd419519d371dc46db782e7f05881517d79 Mon Sep 17 00:00:00 2001 From: Dario Date: Thu, 29 Jan 2026 19:57:01 -0300 Subject: [PATCH] Revert high-poly Banjo patch. Bring it back when heap allocation is expanded. --- patches/lod_patches.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/patches/lod_patches.c b/patches/lod_patches.c index c6ca24f..bcc4f59 100644 --- a/patches/lod_patches.c +++ b/patches/lod_patches.c @@ -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; - } -}