diff options
| author | Scott Mansell <phiren@gmail.com> | 2021-06-01 12:27:34 +1200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-01 12:27:34 +1200 |
| commit | a3c89ac7014ff2ba2b2ecc36e6b5a9f24369cd9e (patch) | |
| tree | da7bc8b5e6d18502964e124e6570c668da8fb890 /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | c404452d3edcd3d0cf2d870a51166c6f6132a5e1 (diff) | |
| parent | 8cfe49295f105506a270ff350a9ea717e8af2172 (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.cpp | 7 |
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: |
