From fa1199ac24066164be7a41241ffcc95df44ae664 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 9 Nov 2015 22:40:12 +0100 Subject: [PATCH] pcsx2: apply patch when first block is compiled Previous behavior apply the patch when first block is executed (it is already too late) Fix #627 --- pcsx2/x86/ix86-32/iR5900-32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index 5e088c669f..b10d3b51fd 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -1740,7 +1740,7 @@ static void __fastcall recRecompile( const u32 startpc ) // this is the only way patches get applied, doesn't depend on a hack if (HWADDR(startpc) == ElfEntry) - xCALL(eeGameStarting); + eeGameStarting(); g_branch = 0;