diff options
| author | Mathew Maidment <mathew1800@gmail.com> | 2016-01-25 05:34:43 -0500 |
|---|---|---|
| committer | Mathew Maidment <mathew1800@gmail.com> | 2016-01-25 05:34:43 -0500 |
| commit | bdfcaa0e00162805efc692b4b7423f096bd75084 (patch) | |
| tree | 57b32b13d9640977b3270fa055865dcc9da2a1eb /Source/Core/VideoCommon/OpcodeDecoding.cpp | |
| parent | 48e7e5b72e76899197b91fb3fe70f25c4339ca85 (diff) | |
| parent | 488e7bd46a2504fc763d65ca5151b66cd83e97f9 (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.cpp | 4 |
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) |
