mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 14:58:32 +00:00
Fifo: Create a "Fifo" namespace.
This commit is contained in:
parent
c3481a576b
commit
5f244abf28
23 changed files with 81 additions and 72 deletions
|
@ -39,8 +39,8 @@ static u32 InterpretDisplayList(u32 address, u32 size)
|
|||
{
|
||||
u8* startAddress;
|
||||
|
||||
if (g_use_deterministic_gpu_thread)
|
||||
startAddress = (u8*)PopFifoAuxBuffer(size);
|
||||
if (Fifo::g_use_deterministic_gpu_thread)
|
||||
startAddress = (u8*)Fifo::PopFifoAuxBuffer(size);
|
||||
else
|
||||
startAddress = Memory::GetPointer(address);
|
||||
|
||||
|
@ -66,7 +66,7 @@ static void InterpretDisplayListPreprocess(u32 address, u32 size)
|
|||
{
|
||||
u8* startAddress = Memory::GetPointer(address);
|
||||
|
||||
PushFifoAuxBuffer(startAddress, size);
|
||||
Fifo::PushFifoAuxBuffer(startAddress, size);
|
||||
|
||||
if (startAddress != nullptr)
|
||||
{
|
||||
|
@ -278,7 +278,7 @@ u8* OpcodeDecoder_Run(DataReader src, u32* cycles, bool in_display_list)
|
|||
(cmd_byte & GX_PRIMITIVE_MASK) >> GX_PRIMITIVE_SHIFT,
|
||||
num_vertices,
|
||||
src,
|
||||
g_bSkipCurrentFrame,
|
||||
Fifo::g_bSkipCurrentFrame,
|
||||
is_preprocess);
|
||||
|
||||
if (bytes < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue