summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPMemory.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2023-11-12 05:47:22 +0000
committerTillmann Karras <tilkax@gmail.com>2023-11-12 05:51:28 +0000
commitac9079f2cad9953958112da158b2ffb6c5f2e4a8 (patch)
tree5e616464a75bc66f11049ab2878ccebf37489b90 /Source/Core/VideoCommon/BPMemory.cpp
parentf35ee227550ccb6fb1feb9b7c0ab2f7428089824 (diff)
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).
Diffstat (limited to 'Source/Core/VideoCommon/BPMemory.cpp')
-rw-r--r--Source/Core/VideoCommon/BPMemory.cpp4
1 files changed, 2 insertions, 2 deletions
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.