From 6f7890b709d5e3f7f5b824781e493455efc92339 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Mon, 19 Apr 2021 10:55:33 +0100 Subject: [PATCH] microVU: Fix mistake when setting Status Flag bits for Signed/Zero --- pcsx2/x86/microVU_Upper.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/x86/microVU_Upper.inl b/pcsx2/x86/microVU_Upper.inl index b31426f11e..add21867b5 100644 --- a/pcsx2/x86/microVU_Upper.inl +++ b/pcsx2/x86/microVU_Upper.inl @@ -92,6 +92,7 @@ static void mVUupdateFlags(mV, const xmm& reg, const xmm& regT1in = xEmptyReg, c if (mFLAG.doFlag) mVUallocMFLAGb(mVU, mReg, mFLAG.write); // Set Mac Flag if (sFLAG.doFlag) { + xAND(mReg, 0xFF); // Ignore overflow bits, they're handled separately xOR(sReg, mReg); if (sFLAG.doNonSticky) { xSHL(mReg, 8);