From b256bb36ece43daa8f71403f2ad649be88c0e89d Mon Sep 17 00:00:00 2001 From: "sudonim1@gmail.com" Date: Sun, 13 Oct 2013 23:56:12 +0000 Subject: [PATCH] We can reject sequences with 4 intervening cop2 operations because the one cycle stall when coissuing with a cop2 move brings it up to 5 cycles. Not sure about 4 cop2 moves, I think that's okay but I'm not confident. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5736 96395faa-99c1-11dd-bbfe-3dabce05a288 --- 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 d7ae5608b5..86ecd5dd57 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -1395,7 +1395,7 @@ void recompileNextInstruction(int delayslot) { int s = cop2flags(cpuRegs.code); int all_count = 0, cop2o_count = 0, cop2m_count = 0; - for (u32 p = pc; s != 0 && p < s_nEndBlock && all_count < 10 && cop2m_count < 5 && cop2o_count < 5; p += 4) + for (u32 p = pc; s != 0 && p < s_nEndBlock && all_count < 10 && cop2m_count < 5 && cop2o_count < 4; p += 4) { // I am so sorry. cpuRegs.code = memRead32(p);