VideoCommon: Make BBox emulation optional

This commit is contained in:
degasus
2015-04-06 02:17:57 +02:00
parent ac0e304159
commit acd074e291
7 changed files with 13 additions and 7 deletions

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);