From b2a9c365011a501ead2b5505d219f9c817b6b7e9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 5 Dec 2019 08:11:52 -0500 Subject: VideoCommon/OpcodeDecoding: Move g_bRecordFifoData into namespace Keeps the global localized with the code that it's primarily related to. Now it's obvious from a glance what the global variable is affecting. --- Source/Core/VideoCommon/OpcodeDecoding.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h') diff --git a/Source/Core/VideoCommon/OpcodeDecoding.h b/Source/Core/VideoCommon/OpcodeDecoding.h index 3d2e5c8361..f3533c3735 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.h +++ b/Source/Core/VideoCommon/OpcodeDecoding.h @@ -10,6 +10,9 @@ class DataReader; namespace OpcodeDecoder { +// Global flag to signal if FifoRecorder is active. +extern bool g_record_fifo_data; + enum { GX_NOP = 0x00, -- cgit v1.2.3