summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.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/OpcodeDecoding.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/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 3af3337b9e..1733a89ad9 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -277,7 +277,7 @@ u8* Run(DataReader src, u32* cycles, bool in_display_list)
(cmd_byte & GX_PRIMITIVE_MASK) >> GX_PRIMITIVE_SHIFT,
num_vertices,
src,
- Fifo::g_bSkipCurrentFrame,
+ Fifo::WillSkipCurrentFrame(),
is_preprocess);
if (bytes < 0)