summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorMathew Maidment <mathew1800@gmail.com>2016-01-25 05:34:43 -0500
committerMathew Maidment <mathew1800@gmail.com>2016-01-25 05:34:43 -0500
commitbdfcaa0e00162805efc692b4b7423f096bd75084 (patch)
tree57b32b13d9640977b3270fa055865dcc9da2a1eb /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent48e7e5b72e76899197b91fb3fe70f25c4339ca85 (diff)
parent488e7bd46a2504fc763d65ca5151b66cd83e97f9 (diff)
Merge pull request #3560 from lioncash/fifo
Fifo: get rid of global variables
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 3af3337b9e..32a3782aaf 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -39,7 +39,7 @@ static u32 InterpretDisplayList(u32 address, u32 size)
{
u8* startAddress;
- if (Fifo::g_use_deterministic_gpu_thread)
+ if (Fifo::UseDeterministicGPUThread())
startAddress = (u8*)Fifo::PopFifoAuxBuffer(size);
else
startAddress = Memory::GetPointer(address);
@@ -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)