summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-04-06 02:17:57 +0200
committerdegasus <wickmarkus@web.de>2015-05-25 09:33:34 +0200
commitacd074e291d287080031d7295baa6e2f7862440f (patch)
tree8e4d38caf103282d5a2ae38ca8357168b70c4fe6 /Source/Core/VideoCommon/BPStructs.cpp
parentac0e3041599429f271d6fddc284ec3e4753c0cd3 (diff)
VideoCommon: Make BBox emulation optional
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 44f6964cfb..29913559c6 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -379,7 +379,7 @@ static void BPWritten(const BPCmd& bp)
u8 offset = bp.address & 2;
BoundingBox::active = true;
- if (g_ActiveConfig.backend_info.bSupportsBBox)
+ if (g_ActiveConfig.backend_info.bSupportsBBox && g_ActiveConfig.bBBoxEnable)
{
g_renderer->BBoxWrite(offset, bp.newvalue & 0x3ff);
g_renderer->BBoxWrite(offset + 1, bp.newvalue >> 10);