From 8e6e0f4c669c5584b1fbce3d224f517a15d4ed5e Mon Sep 17 00:00:00 2001 From: refraction Date: Sat, 25 Jan 2014 23:36:40 +0000 Subject: [PATCH] Just a couple of small fixes picked up by the compiler, no change to emulation. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5838 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/Gif.cpp | 2 +- pcsx2/x86/ix86-32/iR5900-32.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/Gif.cpp b/pcsx2/Gif.cpp index cf9faa5caf..b2a9706d5e 100644 --- a/pcsx2/Gif.cpp +++ b/pcsx2/Gif.cpp @@ -564,7 +564,7 @@ void gifMFIFOInterrupt() return; } - if ((gifstate & GIF_STATE_READY) || (gifch.qwc > 0)) { + if ((gifstate == GIF_STATE_READY) || (gifch.qwc > 0)) { DevCon.Error("gifMFIFO Panic > Shouldn't go here!"); return; } diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index 1640365852..e4f55c235f 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -1050,7 +1050,7 @@ void iFlushCall(int flushtype) g_cpuFlushedCode = true; } - if ((flushtype & FLUSH_CAUSE) && !g_maySignalException) { + if ((flushtype == FLUSH_CAUSE) && !g_maySignalException) { if (g_recompilingDelaySlot) xOR(ptr32[&cpuRegs.CP0.n.Cause], 1 << 31); // BD g_maySignalException = true;