From fe0229aed01fe5329b3443428e77c98744c4c848 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Mon, 8 Feb 2016 09:52:31 +0100 Subject: [PATCH] EE: remove dead code --- pcsx2/x86/ix86-32/iR5900-32.cpp | 15 --------------- pcsx2/x86/ix86-32/iR5900LoadStore.cpp | 10 ---------- 2 files changed, 25 deletions(-) diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index 34d28ee65b..0e791c5ccf 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -1006,21 +1006,6 @@ void iFlushCall(int flushtype) } } -//void testfpu() -//{ -// int i; -// for(i = 0; i < 32; ++i ) { -// if( fpuRegs.fpr[i].UL== 0x7f800000 || fpuRegs.fpr[i].UL == 0xffc00000) { -// Console.WriteLn("bad fpu: %x %x %x", i, cpuRegs.cycle, g_lastpc); -// } -// -// if( VU0.VF[i].UL[0] == 0xffc00000 || //(VU0.VF[i].UL[1]&0xffc00000) == 0xffc00000 || -// VU0.VF[i].UL[0] == 0x7f800000) { -// Console.WriteLn("bad vu0: %x %x %x", i, cpuRegs.cycle, g_lastpc); -// } -// } -//} - // Note: scaleblockcycles() scales s_nBlockCycles respective to the EECycleRate value for manipulating the cycles of current block recompiling. // s_nBlockCycles is 3 bit fixed point. Divide by 8 when done! // Scaling blocks under 40 cycles seems to produce countless problem, so let's try to avoid them. diff --git a/pcsx2/x86/ix86-32/iR5900LoadStore.cpp b/pcsx2/x86/ix86-32/iR5900LoadStore.cpp index f7c5a23564..1511de0bf3 100644 --- a/pcsx2/x86/ix86-32/iR5900LoadStore.cpp +++ b/pcsx2/x86/ix86-32/iR5900LoadStore.cpp @@ -26,9 +26,6 @@ using namespace x86Emitter; #define REC_STORES #define REC_LOADS -// Implemented at the bottom of the module: -void SetFastMemory(int bSetFast); - namespace R5900 { namespace Dynarec { namespace OpcodeImpl { @@ -96,11 +93,6 @@ using namespace Interpreter::OpcodeImpl; __aligned16 u32 dummyValue[4]; -void SetFastMemory(int bSetFast) -{ - // nothing -} - ////////////////////////////////////////////////////////////////////////////////////////// // void recLoad64( u32 bits, bool sign ) @@ -637,5 +629,3 @@ void recSQC2() using namespace R5900::Dynarec; using namespace R5900::Dynarec::OpcodeImpl; - -void SetFastMemory(int bSetFast) {}