From 278f164683cf4790e5c49133725313d5509410c8 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Fri, 21 Nov 2008 13:03:38 +0000 Subject: [PATCH] Small cleanup, thanks to the MTGS rewrite the optimize pragma isn't needed for PGO anymore. git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@357 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/GS.cpp | 3 +-- pcsx2/x86/ir5900tables.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pcsx2/GS.cpp b/pcsx2/GS.cpp index 2bd705e0bc..93e6b01d83 100644 --- a/pcsx2/GS.cpp +++ b/pcsx2/GS.cpp @@ -1458,7 +1458,6 @@ extern "C" void GSPostVsyncEnd() } #if defined(_WIN32) && !defined(WIN32_PTHREADS) -//#pragma optimize ("",off) //needed for a working PGO build DWORD WINAPI GSThreadProc(LPVOID lpParam) { u32 prevCmd=0; @@ -1746,7 +1745,7 @@ void* GSThreadProc(void* lpParam) GSclose(); return 0; } -//#pragma optimize ("",on) //needed for a working PGO build + int gsFreeze(gzFile f, int Mode) { gzfreeze(PS2MEM_GS, 0x2000); diff --git a/pcsx2/x86/ir5900tables.c b/pcsx2/x86/ir5900tables.c index 3ff77fcff2..25e4049960 100644 --- a/pcsx2/x86/ir5900tables.c +++ b/pcsx2/x86/ir5900tables.c @@ -612,7 +612,7 @@ void rpropBSC(EEINST* prev, EEINST* pinst) //DSLL, NULL, DSRL, DSRA, DSLL32, NULL, DSRL32, DSRA32 void rpropSPECIAL(EEINST* prev, EEINST* pinst) { - int temp; + //int temp; switch(_Funct_) { case 0: // SLL case 2: // SRL