Skip to content

Commit

Permalink
jak2: fix consite crash (#3743)
Browse files Browse the repository at this point in the history
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++.
  • Loading branch information
Hat-Kid authored Nov 3, 2024
1 parent 10d7dab commit cbb8add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goal_src/jak2/engine/gfx/texture/texture-anim.gc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbb8add

Please sign in to comment.