GameSettings: fix C4 texture tiling in Crash Nitro Kart

For buttons and some character icons the game loads palleted PNGs and
tiles the pallet indices directly into C4 textures but fails to take
into account that PNG and C4 use opposite nibble orders. This causes
adjacent pixel columns to be swapped, see issue 13370.

Also disable Immediate XFB for the Japanese release. It has the same
black screen and flickering issues as the other regions.
This commit is contained in:
Tillmann Karras 2023-12-17 14:44:31 +00:00
parent 18f9b966a0
commit dcc674febd
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# GC8JA4 - クラッシュ・バンディクー 爆走!ニトロカート
[Core]
# Values set here will override the main Dolphin settings.
[OnLoad]
# Add memory patches to be loaded once on boot here.
[OnFrame]
# Add memory patches to be applied every frame here.
[ActionReplay]
# Add action replay cheats here.
$Fix C4 texture tiling (used for buttons and some character icons)
0400328C 7D0340AE
04003290 5108452E
04003294 5508E13E
04003298 4E800020
040CA1B4 4BF390D9
[Video_Settings]
[Video_Hacks]
ImmediateXFBEnable = False

View File

@ -11,6 +11,12 @@
[ActionReplay]
# Add action replay cheats here.
$Fix C4 texture tiling (used for buttons and some character icons)
0400328C 7D0340AE
04003290 5108452E
04003294 5508E13E
04003298 4E800020
040CC574 4BF36D19
[Video_Settings]