Gamedb: add WRC4 patch to NTSC-J version

This commit is contained in:
Mrlinkwii 2022-10-30 11:25:06 +00:00 committed by refractionpcsx2
parent 92b5a6e381
commit 614c535f5e
1 changed files with 40 additions and 0 deletions

View File

@ -29362,6 +29362,26 @@ SLPM-65974:
SLPM-65975: SLPM-65975:
name: "WRC 4" name: "WRC 4"
region: "NTSC-J" region: "NTSC-J"
gameFixes:
- XGKickHack # Fixes SPS.
patches:
default:
content: |-
author=kozarovv
// Proper patch for WRC 4. CRC independent.
// I wrote a small runtime that moves unpacker higher right after emulator boot.
// Seems little bit extensive, but there is no way to make it smaller.
// Solves TLB miss errors which prevented the game from booting.
patch=0,EE,0040000C,double,3c0500603cc70054
patch=0,EE,00400014,double,24a5001024840010
patch=0,EE,0040001C,double,7ca6000078860000
patch=0,EE,00400024,double,000000001487fffb
patch=0,EE,0040002c,double,000000000817fff5
patch=0,EE,005fffd4,double,3c1c70003c040060
patch=0,EE,005fffdc,double,3c0700003c067000
patch=0,EE,005fffe4,double,279c000024840800
patch=0,EE,005fffec,double,24e7100024c60080
patch=0,EE,005ffff4,double,00c7e8200818000c
gsHWFixes: gsHWFixes:
autoFlush: 1 # Fixes car shadows. autoFlush: 1 # Fixes car shadows.
roundSprite: 1 # Fixes misalgined text. roundSprite: 1 # Fixes misalgined text.
@ -30656,6 +30676,26 @@ SLPM-66333:
SLPM-66334: SLPM-66334:
name: "WRC 4 [Spike the Best]" name: "WRC 4 [Spike the Best]"
region: "NTSC-J" region: "NTSC-J"
gameFixes:
- XGKickHack # Fixes SPS.
patches:
default:
content: |-
author=kozarovv
// Proper patch for WRC 4. CRC independent.
// I wrote a small runtime that moves unpacker higher right after emulator boot.
// Seems little bit extensive, but there is no way to make it smaller.
// Solves TLB miss errors which prevented the game from booting.
patch=0,EE,0040000C,double,3c0500603cc70054
patch=0,EE,00400014,double,24a5001024840010
patch=0,EE,0040001C,double,7ca6000078860000
patch=0,EE,00400024,double,000000001487fffb
patch=0,EE,0040002c,double,000000000817fff5
patch=0,EE,005fffd4,double,3c1c70003c040060
patch=0,EE,005fffdc,double,3c0700003c067000
patch=0,EE,005fffe4,double,279c000024840800
patch=0,EE,005fffec,double,24e7100024c60080
patch=0,EE,005ffff4,double,00c7e8200818000c
gsHWFixes: gsHWFixes:
autoFlush: 1 # Fixes car shadows. autoFlush: 1 # Fixes car shadows.
roundSprite: 1 # Fixes misalgined text. roundSprite: 1 # Fixes misalgined text.