diff --git a/Source/Core/Core/Src/HW/GPFifo.cpp b/Source/Core/Core/Src/HW/GPFifo.cpp index 28ba18da1f..babeaa9320 100644 --- a/Source/Core/Core/Src/HW/GPFifo.cpp +++ b/Source/Core/Core/Src/HW/GPFifo.cpp @@ -42,7 +42,9 @@ namespace GPFifo u8 GC_ALIGNED32(m_gatherPipe[GATHER_PIPE_SIZE*16]); //more room, for the fastmodes // pipe counter -u32 m_gatherPipeCount = 0; +u32 m_gatherPipeCount = 0; + +Common::TVideo_GatherPipeBursted m_GatherPipeBursted = NULL; void DoState(PointerWrap &p) { @@ -53,6 +55,7 @@ void DoState(PointerWrap &p) void Init() { ResetGatherPipe(); + m_GatherPipeBursted = CPluginManager::GetInstance().GetVideo()->Video_GatherPipeBursted; } bool IsEmpty() @@ -89,8 +92,8 @@ void STACKALIGN CheckGatherPipe() ProcessorInterface::Fifo_CPUWritePointer += GATHER_PIPE_SIZE; } - // TODO store video plugin pointer - CPluginManager::GetInstance().GetVideo()->Video_GatherPipeBursted(); + // Call pre-fetched pointer + m_GatherPipeBursted(); } // move back the spill bytes