summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2021-06-01 12:27:34 +1200
committerGitHub <noreply@github.com>2021-06-01 12:27:34 +1200
commita3c89ac7014ff2ba2b2ecc36e6b5a9f24369cd9e (patch)
treeda7bc8b5e6d18502964e124e6570c668da8fb890 /Source/Core/VideoCommon/BPStructs.cpp
parentc404452d3edcd3d0cf2d870a51166c6f6132a5e1 (diff)
parent8cfe49295f105506a270ff350a9ea717e8af2172 (diff)
Merge pull request #9773 from Techjar/bbox-default-values
VideoCommon: Add fallback handling for bounding box when disabled or unsupported
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 8754152fe9..810cb4e129 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -445,11 +445,8 @@ static void BPWritten(const BPCmd& bp)
const u8 offset = bp.address & 2;
BoundingBox::Enable();
- if (g_ActiveConfig.backend_info.bSupportsBBox && g_ActiveConfig.bBBoxEnable)
- {
- g_renderer->BBoxWrite(offset, bp.newvalue & 0x3ff);
- g_renderer->BBoxWrite(offset + 1, bp.newvalue >> 10);
- }
+ g_renderer->BBoxWrite(offset, bp.newvalue & 0x3ff);
+ g_renderer->BBoxWrite(offset + 1, bp.newvalue >> 10);
}
return;
case BPMEM_TEXINVALIDATE: