VideoCommon/OpcodeDecoding: Make use of anonymous namespace
Provides a region for all internal utilities.
This commit is contained in:
parent
6b4e340995
commit
f74503cce0
|
@ -31,9 +31,11 @@
|
||||||
|
|
||||||
namespace OpcodeDecoder
|
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;
|
u8* start_address;
|
||||||
|
|
||||||
|
@ -60,7 +62,7 @@ static u32 InterpretDisplayList(u32 address, u32 size)
|
||||||
return cycles;
|
return cycles;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void InterpretDisplayListPreprocess(u32 address, u32 size)
|
void InterpretDisplayListPreprocess(u32 address, u32 size)
|
||||||
{
|
{
|
||||||
u8* const start_address = Memory::GetPointer(address);
|
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);
|
Run<true>(DataReader(start_address, start_address + size), nullptr, true);
|
||||||
}
|
}
|
||||||
|
} // Anonymous namespace
|
||||||
|
|
||||||
bool g_record_fifo_data = false;
|
bool g_record_fifo_data = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue