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