mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Merge pull request #22524 from LunaMoo/GOWpatchfix
Fix gow vortex patch by making sure changed register value get's used
This commit is contained in:
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