From 1be80fbe53f6a163bd45cc016170afb511f7ebab Mon Sep 17 00:00:00 2001 From: arcum42 Date: Fri, 16 Jul 2010 23:31:28 +0000 Subject: [PATCH] ReorderingMTGS: Comment out a few unused variables. git-svn-id: http://pcsx2.googlecode.com/svn/branches/ReorderingMTGS@3505 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/FiFo.cpp | 2 +- pcsx2/Gif.cpp | 1 - pcsx2/MTGS.cpp | 2 +- pcsx2/x86/ix86-32/iR5900-32.cpp | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pcsx2/FiFo.cpp b/pcsx2/FiFo.cpp index f93b80242b..28122713c4 100644 --- a/pcsx2/FiFo.cpp +++ b/pcsx2/FiFo.cpp @@ -196,7 +196,7 @@ void __fastcall WriteFIFO_page_6(u32 mem, const mem128_t *value) nloop0_packet[2] = psHu32(GIF_FIFO + 8); nloop0_packet[3] = psHu32(GIF_FIFO + 12); GetMTGS().PrepDataPacket(GIF_PATH_3, 1); - u64* data = (u64*)GetMTGS().GetDataPacketPtr(); + //u64* data = (u64*)GetMTGS().GetDataPacketPtr(); GIFPath_CopyTag( GIF_PATH_3, (u128*)nloop0_packet, 1 ); GetMTGS().SendDataPacket(); if(GSTransferStatus.PTH3 == STOPPED_MODE && gifRegs->stat.APATH == GIF_APATH3 ) diff --git a/pcsx2/Gif.cpp b/pcsx2/Gif.cpp index 77002ab55b..ba1a9deb0f 100644 --- a/pcsx2/Gif.cpp +++ b/pcsx2/Gif.cpp @@ -163,7 +163,6 @@ static u32 WRITERING_DMA(tDMA_TAG *pMem, u32 qwc) int _GIFchain() { tDMA_TAG *pMem; - int qwc = 0; pMem = dmaGetAddr(gif->madr, false); if (pMem == NULL) diff --git a/pcsx2/MTGS.cpp b/pcsx2/MTGS.cpp index 3b0f4694be..fc70d9cf77 100644 --- a/pcsx2/MTGS.cpp +++ b/pcsx2/MTGS.cpp @@ -639,7 +639,7 @@ void SysMtgsThread::GenericStall( uint size ) // the block about to be written (writepos + size) uint readpos = volatize(m_ReadPos); - uint endpos = writepos+size; + //uint endpos = writepos+size; uint freeroom; if (writepos < readpos) diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index fe4510b4a5..87dbeb055c 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -1258,11 +1258,11 @@ void recompileNextInstruction(int delayslot) // Calling of this function can be enabled or disabled through the use of EmuConfig.Recompiler.PreBlockChecks static void __fastcall PreBlockCheck( u32 blockpc ) { - static int lastrec = 0; + /*static int lastrec = 0; static int curcount = 0; const int skip = 0; - /*if( blockpc != 0x81fc0 ) {//&& lastrec != g_lastpc ) { + if( blockpc != 0x81fc0 ) {//&& lastrec != g_lastpc ) { curcount++; if( curcount > skip ) {