From cbb8add81c1605b74c01fc14798d6eb6a6b062cb Mon Sep 17 00:00:00 2001 From: Hat Kid <6624576+Hat-Kid@users.noreply.github.com> Date: Sun, 3 Nov 2024 11:45:31 +0100 Subject: [PATCH] jak2: fix consite crash (#3743) Since #3735, loading consite in Jak 2 crashes due to an assert in the code that handles the PC clut blender DMA. The unused and half-implemented `kor-transform` texture animation doesn't have any blenders as the texture names are commented out in the C++ definition (and it seems that these textures are defined multiple times within different tpages in the same DGO, leading to errors during startup if uncommented), leading to a mismatch between the actual qwc in GOAL and the assumed DMA data size in C++. --- goal_src/jak2/engine/gfx/texture/texture-anim.gc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goal_src/jak2/engine/gfx/texture/texture-anim.gc b/goal_src/jak2/engine/gfx/texture/texture-anim.gc index 0c60c0815e3..69fef2edd13 100644 --- a/goal_src/jak2/engine/gfx/texture/texture-anim.gc +++ b/goal_src/jak2/engine/gfx/texture/texture-anim.gc @@ -946,7 +946,7 @@ struct SlimeInput { (return #f) ) ((= anim-array *kor-transform-texture-anim-array*) - (pc-clut-blender bucket (texture-anim-pc kor-transform) anim-array) + ; (pc-clut-blender bucket (texture-anim-pc kor-transform) anim-array) (return #f) ) (else