From ac9079f2cad9953958112da158b2ffb6c5f2e4a8 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 12 Nov 2023 05:47:22 +0000 Subject: VideoCommon: copy software renderer logic for blend mode priorities I've not tested this on hardware, but it fixes issue 12271 (shadow people in Deal or No Deal - Special Edition). --- Source/Core/VideoCommon/BPMemory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoCommon/BPMemory.cpp') diff --git a/Source/Core/VideoCommon/BPMemory.cpp b/Source/Core/VideoCommon/BPMemory.cpp index 44e120470b..67952dc1ed 100644 --- a/Source/Core/VideoCommon/BPMemory.cpp +++ b/Source/Core/VideoCommon/BPMemory.cpp @@ -11,8 +11,8 @@ BPMemory bpmem; bool BlendMode::UseLogicOp() const { - // Logicop bit has lowest priority. - if (subtract || blendenable || !logicopenable) + // Blending overrides the logicop bit. + if (blendenable || !logicopenable) return false; // Fast path for Kirby's Return to Dreamland, they use it with dstAlpha. -- cgit v1.2.3