mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
Optimized FIFO gather a tiny bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5696 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
9a76be6edc
commit
c1ca3ae96c
@ -42,7 +42,9 @@ namespace GPFifo
|
|||||||
u8 GC_ALIGNED32(m_gatherPipe[GATHER_PIPE_SIZE*16]); //more room, for the fastmodes
|
u8 GC_ALIGNED32(m_gatherPipe[GATHER_PIPE_SIZE*16]); //more room, for the fastmodes
|
||||||
|
|
||||||
// pipe counter
|
// pipe counter
|
||||||
u32 m_gatherPipeCount = 0;
|
u32 m_gatherPipeCount = 0;
|
||||||
|
|
||||||
|
Common::TVideo_GatherPipeBursted m_GatherPipeBursted = NULL;
|
||||||
|
|
||||||
void DoState(PointerWrap &p)
|
void DoState(PointerWrap &p)
|
||||||
{
|
{
|
||||||
@ -53,6 +55,7 @@ void DoState(PointerWrap &p)
|
|||||||
void Init()
|
void Init()
|
||||||
{
|
{
|
||||||
ResetGatherPipe();
|
ResetGatherPipe();
|
||||||
|
m_GatherPipeBursted = CPluginManager::GetInstance().GetVideo()->Video_GatherPipeBursted;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsEmpty()
|
bool IsEmpty()
|
||||||
@ -89,8 +92,8 @@ void STACKALIGN CheckGatherPipe()
|
|||||||
ProcessorInterface::Fifo_CPUWritePointer += GATHER_PIPE_SIZE;
|
ProcessorInterface::Fifo_CPUWritePointer += GATHER_PIPE_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO store video plugin pointer
|
// Call pre-fetched pointer
|
||||||
CPluginManager::GetInstance().GetVideo()->Video_GatherPipeBursted();
|
m_GatherPipeBursted();
|
||||||
}
|
}
|
||||||
|
|
||||||
// move back the spill bytes
|
// move back the spill bytes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user