summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-10-08 21:41:43 +0200
committerGitHub <noreply@github.com>2016-10-08 21:41:43 +0200
commita86b2c15d8a3064228e5b8fabf6cbea09c3837dd (patch)
treeea24ab15bce008fed82f21fda86d4e1b97cc8f44 /Source/Core/VideoCommon/BPStructs.cpp
parent8b38d5a1155c9d91036935b2abc388aaa1822e41 (diff)
parentb427ead0cc46ae6e35568a85228f6261204a197f (diff)
Merge pull request #4322 from Helios747/I_hate_features
Remove Frameskip
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp19
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 5355c0b2c1..f9bd1908de 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -380,19 +380,16 @@ static void BPWritten(const BPCmd& bp)
// -------------------------
case BPMEM_CLEARBBOX1:
case BPMEM_CLEARBBOX2:
- // Don't compute bounding box if this frame is being skipped!
- // Wrong but valid values are better than bogus values...
- if (!Fifo::WillSkipCurrentFrame())
- {
- u8 offset = bp.address & 2;
- BoundingBox::active = true;
+ {
+ u8 offset = bp.address & 2;
+ BoundingBox::active = true;
- if (g_ActiveConfig.backend_info.bSupportsBBox && g_ActiveConfig.bBBoxEnable)
- {
- g_renderer->BBoxWrite(offset, bp.newvalue & 0x3ff);
- g_renderer->BBoxWrite(offset + 1, bp.newvalue >> 10);
- }
+ if (g_ActiveConfig.backend_info.bSupportsBBox && g_ActiveConfig.bBBoxEnable)
+ {
+ g_renderer->BBoxWrite(offset, bp.newvalue & 0x3ff);
+ g_renderer->BBoxWrite(offset + 1, bp.newvalue >> 10);
}
+ }
return;
case BPMEM_TEXINVALIDATE:
// TODO: Needs some restructuring in TextureCacheBase.