VideoCommon: Make BBox emulation optional

This commit is contained in:
degasus committed 2015-05-25 09:33:34 +02:00
1 parent ac0e304159
commit acd074e291
7 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -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);