summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-12-05 08:20:34 -0500
committerLioncash <mathew1800@gmail.com>2019-12-05 09:13:06 -0500
commitf74503cce01c3c10e0c85b6b1bd588a3a7059ca7 (patch)
tree778efaf5a2cb2d253df535f9fb2843ff3db98c95 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent6b4e3409959ae478ee720ebd5357e4d02ab9f29b (diff)
VideoCommon/OpcodeDecoding: Make use of anonymous namespace
Provides a region for all internal utilities.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 8e5d2fa663..fe4bba007d 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -31,9 +31,11 @@
namespace OpcodeDecoder
{
-static bool s_is_fifo_error_seen = false;
+namespace
+{
+bool s_is_fifo_error_seen = false;
-static u32 InterpretDisplayList(u32 address, u32 size)
+u32 InterpretDisplayList(u32 address, u32 size)
{
u8* start_address;
@@ -60,7 +62,7 @@ static u32 InterpretDisplayList(u32 address, u32 size)
return cycles;
}
-static void InterpretDisplayListPreprocess(u32 address, u32 size)
+void InterpretDisplayListPreprocess(u32 address, u32 size)
{
u8* const start_address = Memory::GetPointer(address);
@@ -71,6 +73,7 @@ static void InterpretDisplayListPreprocess(u32 address, u32 size)
Run<true>(DataReader(start_address, start_address + size), nullptr, true);
}
+} // Anonymous namespace
bool g_record_fifo_data = false;