From bbbe195bdfd71b027b98d75605e3cbe4c14acba2 Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Mon, 12 Oct 2026 16:20:29 +0200 Subject: [PATCH] fix gow vortex patch by making sure changed register value get's used in JIT --- Core/HLE/ReplaceTables.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/HLE/ReplaceTables.cpp b/Core/HLE/ReplaceTables.cpp index 5c977f4d7f..f3a84fb1ae 100644 --- a/Core/HLE/ReplaceTables.cpp +++ b/Core/HLE/ReplaceTables.cpp @@ -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;