summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-12-05 08:11:52 -0500
committerLioncash <mathew1800@gmail.com>2019-12-05 09:13:03 -0500
commitb2a9c365011a501ead2b5505d219f9c817b6b7e9 (patch)
tree6d099d99970ba0f2a61a61f0de79e22b89931937 /Source/Core/VideoCommon/OpcodeDecoding.h
parentd8063e9c543b34ddd646556cf7148c69bffbd816 (diff)
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.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.h')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.h3
1 files changed, 3 insertions, 0 deletions
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,