From 2f83a56dc3ea48ab67adb8311b1b4e20017f6a7d Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Thu, 20 Nov 2008 11:56:52 +0000 Subject: [PATCH] Fixed a dumb bug on my part that caused some games (FFXII) to crash when loading savestates. git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@351 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/R5900.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pcsx2/R5900.c b/pcsx2/R5900.c index f9eadf47a2..9d1cd39eca 100644 --- a/pcsx2/R5900.c +++ b/pcsx2/R5900.c @@ -458,7 +458,6 @@ static __forceinline void _cpuBranchTest_Shared() _cpuTestPERF(); _cpuTestTIMR(); - //#ifdef CPU_LOG // cpuTestMissingHwInts(); //#endif @@ -598,14 +597,13 @@ __forceinline void cpuTestDMACInts() { CPU_INT(31, 4); } -// fixme: Unused code. delete or find its true purpose? __forceinline void cpuTestTIMRInts() { if ((cpuRegs.CP0.n.Status.val & 0x10007) == 0x10001) { + _cpuTestPERF(); _cpuTestTIMR(); } } -// fixme: unused code. delete or find its true purpose? void cpuTestHwInts() { cpuTestINTCInts(); cpuTestDMACInts();