summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-01-23 23:20:13 -0500
committerLioncash <mathew1800@gmail.com>2016-01-25 05:23:14 -0500
commit5ebd1e215b29bdbf74317ea1b6cb19578db0e41a (patch)
treeb796d65dd2ad9e9e357fb89034fd98c8bb0e28ba /Source/Core/VideoCommon/BPStructs.cpp
parent48e7e5b72e76899197b91fb3fe70f25c4339ca85 (diff)
Fifo: Make g_bSkipCurrentFrame a TU-local variable
This is only ever queried, making it a global isn't necessary.
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 4962dc59ed..ff125652a6 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -380,7 +380,7 @@ static void BPWritten(const BPCmd& bp)
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::g_bSkipCurrentFrame)
+ if (!Fifo::WillSkipCurrentFrame())
{
u8 offset = bp.address & 2;
BoundingBox::active = true;