mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
fix gow vortex patch by making sure changed register value get's used in JIT
This commit is contained in:
1 parent
6b203f050d
commit
bbbe195bdf
1 file changed
+1
@@ -1672,6 +1672,7 @@ static int Hook_gow_vortex_hack() {
|
||||
// from my tests both ==0x3F800000 and !=0x3F800000 takes around 1:40-1:50, that seems to match correct behaviour
|
||||
if (currentMIPS->r[MIPS_REG_S1] == 0 && currentMIPS->r[MIPS_REG_A0] == 0xC0 && currentMIPS->r[MIPS_REG_T4] != 0x3F800000) {
|
||||
currentMIPS->r[MIPS_REG_S1] = 1;
|
||||
currentMIPS->downcount = 0;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user