VideoCommon/OpcodeDecoding: Make use of anonymous namespace

Provides a region for all internal utilities.
This commit is contained in:
Lioncash 2019-12-05 08:20:34 -05:00
parent 6b4e340995
commit f74503cce0
1 changed files with 6 additions and 3 deletions

View File

@ -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;