From 8a92ad14344afd4eeb2e2d407dd421e82b6fe18a Mon Sep 17 00:00:00 2001 From: "ramapcsx2.code" Date: Sat, 22 Feb 2014 14:04:41 +0000 Subject: [PATCH] Added insane EE cycle rate multipliers because they get requested so much. Requires editing the pcsx2_vm.ini directly. Set EECycleRate = whatever (between 3 and 99). git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5908 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/x86/ix86-32/iR5900-32.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index 2f7dd856fc..40f6e5c0ba 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -1126,7 +1126,18 @@ static u32 scaleBlockCycles_helper() scalarHigh = 7; break; - jNO_DEFAULT + // Added insane rates on popular request (rama) + //jNO_DEFAULT + default: + scalarLow = 2; + scalarMid = 3; + scalarHigh = 2; + + if (EmuConfig.Speedhacks.EECycleRate > 2 && EmuConfig.Speedhacks.EECycleRate < 100) { + scalarLow *= EmuConfig.Speedhacks.EECycleRate; + scalarMid *= EmuConfig.Speedhacks.EECycleRate; + scalarHigh *= EmuConfig.Speedhacks.EECycleRate; + } } const u32 temp = s_nBlockCycles * (