From 3ec9f9b64a07e1c5e4ca3482fc6fc96db533021c Mon Sep 17 00:00:00 2001 From: degasus Date: Mon, 9 Sep 2013 02:29:30 +0200 Subject: [PATCH] videoCommon: also reset logicOp on mode switch --- Source/Core/VideoCommon/Src/BPStructs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp index 00cecf0082..9f885e7953 100644 --- a/Source/Core/VideoCommon/Src/BPStructs.cpp +++ b/Source/Core/VideoCommon/Src/BPStructs.cpp @@ -200,19 +200,19 @@ void BPWritten(const BPCmd& bp) bpmem.blendmode.dstfactor, bpmem.blendmode.srcfactor, bpmem.blendmode.subtract, bpmem.blendmode.logicmode); // Set LogicOp Blending Mode - if (bp.changes & 2) + if (bp.changes & 0xF002) // logicopenable | logicmode SetLogicOpMode(); // Set Dithering Mode - if (bp.changes & 4) + if (bp.changes & 4) // dither SetDitherMode(); // Set Blending Mode - if (bp.changes & 0xFF1) + if (bp.changes & 0xFF1) // blendenable | alphaupdate | dstfactor | srcfactor | subtract SetBlendMode(); // Set Color Mask - if (bp.changes & 0x18) + if (bp.changes & 0x18) // colorupdate | alphaupdate SetColorMask(); } break;