mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 05:00:27 +02:00
The BP register cache skips writes equal to the cached value, and the cache starts at zero. A cold GEN_MODE write of zero (one TEV stage, no culling, no channels or texgens) was therefore dropped, leaving the decoded state at zero TEV stages until some other GEN_MODE value arrived. Seed the cache's register ID byte so the first write always decodes. From upstream patchzyy/Wiicompiled 6f14bde (#244, KartPad batch). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Wg7mB8ogCWmp9GH19Uc82B