fix gow vortex patch by making sure changed register value get's used in JIT

This commit is contained in:
LunaMoo committed 2026-10-12 16:40:43 +02:00
1 parent 6b203f050d
commit bbbe195bdf
1 file changed
+1
+1
View File
@@ -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;