diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2023-11-12 05:47:22 +0000 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2023-11-12 05:51:28 +0000 |
| commit | ac9079f2cad9953958112da158b2ffb6c5f2e4a8 (patch) | |
| tree | 5e616464a75bc66f11049ab2878ccebf37489b90 /Source/Core/VideoCommon/BPMemory.cpp | |
| parent | f35ee227550ccb6fb1feb9b7c0ab2f7428089824 (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.cpp | 4 |
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. |
