From 5ebd1e215b29bdbf74317ea1b6cb19578db0e41a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 23 Jan 2016 23:20:13 -0500 Subject: Fifo: Make g_bSkipCurrentFrame a TU-local variable This is only ever queried, making it a global isn't necessary. --- Source/Core/VideoCommon/OpcodeDecoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp') 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) -- cgit v1.2.3 From 32ce2be2bfc74f0b395800328c494b423480358d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 23 Jan 2016 23:31:13 -0500 Subject: Fifo: Make g_use_deterministic_gpu_thread a TU-local variable --- Source/Core/VideoCommon/OpcodeDecoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp') diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp index 1733a89ad9..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); -- cgit v1.2.3