GameDB: Better patch for ONI games, less invasive

On real hardware the PCR write will be completed after the BC0F instruction causing it to pass, so we simulate this now
This commit is contained in:
refractionpcsx2 2020-10-04 21:33:44 +01:00
parent 7ca2385da2
commit 2c717c3cdb
1 changed files with 20 additions and 15 deletions

View File

@ -7126,9 +7126,10 @@ Name = Oni
Region = PAL-E Region = PAL-E
Compat = 5 Compat = 5
[patches = 22E85E68] [patches = 22E85E68]
comment=Patches by Nachbrenner comment=Patch by refraction
// Skip "branch if copro 0 condition false". // Rearrange PCR write and BC0F instruction
patch=0,EE,001cef7c,word,00000000 // bc0f $001cef7c patch=0,EE,001CEF78,word,4100ffff
patch=0,EE,001CEF7C,word,ac430000
[/patches] [/patches]
--------------------------------------------- ---------------------------------------------
Serial = SLES-50136 Serial = SLES-50136
@ -7194,9 +7195,10 @@ Name = Oni
Region = PAL-F Region = PAL-F
Compat = 5 Compat = 5
[patches = F77639F1] [patches = F77639F1]
comment=Patches by Nachbrenner comment=Patch by refraction
// Skip "branch if copro 0 condition false". // Rearrange PCR write and BC0F instruction
patch=0,EE,001cef7c,word,00000000 // bc0f $001cef7c patch=0,EE,001CEF78,word,4100ffff
patch=0,EE,001CEF7C,word,ac430000
[/patches] [/patches]
--------------------------------------------- ---------------------------------------------
Serial = SLES-50177 Serial = SLES-50177
@ -7204,18 +7206,20 @@ Name = Oni
Region = PAL-G Region = PAL-G
Compat = 5 Compat = 5
[patches = 32629F36] [patches = 32629F36]
comment=Patches by Nachbrenner comment=Patch by refraction
// Skip "branch if copro 0 condition false". // Rearrange PCR write and BC0F instruction
patch=0,EE,001cef7c,word,00000000 // bc0f $001cef7c patch=0,EE,001CEF78,word,4100ffff
patch=0,EE,001CEF7C,word,ac430000
[/patches] [/patches]
--------------------------------------------- ---------------------------------------------
Serial = SLES-50178 Serial = SLES-50178
Name = Oni Name = Oni
Region = PAL-I Region = PAL-I
[patches = 172B6971] [patches = 172B6971]
author=Nachbrenner comment=Patch by refraction
// Skip "branch if copro 0 condition false". // Rearrange PCR write and BC0F instruction
patch=0,EE,001cef7c,word,00000000 // bc0f $001cef7c patch=0,EE,001CEF78,word,4100ffff
patch=0,EE,001CEF7C,word,ac430000
[/patches] [/patches]
--------------------------------------------- ---------------------------------------------
Serial = SLES-50179 Serial = SLES-50179
@ -35397,9 +35401,10 @@ Name = Oni
Region = NTSC-U Region = NTSC-U
Compat = 5 Compat = 5
[patches = FD9CD8FC] [patches = FD9CD8FC]
comment=Patch by Shadow Lady comment=Patch by refraction
// Skip branch bc0f. // Rearrange PCR write and BC0F instruction
patch=0,EE,001CF3CC,word,00000000 patch=0,EE,001CF3C8,word,4100ffff
patch=0,EE,001CF3CC,word,ac430000
[/patches] [/patches]
--------------------------------------------- ---------------------------------------------
Serial = SLUS-20065 Serial = SLUS-20065