mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Revert WGP change. The previous change was correct, but the video plugins need to be updated.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4528 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -80,11 +80,15 @@ void STACKALIGN CheckGatherPipe()
|
|||||||
memcpy(m_gatherPipe, m_gatherPipe + GATHER_PIPE_SIZE, m_gatherPipeCount);
|
memcpy(m_gatherPipe, m_gatherPipe + GATHER_PIPE_SIZE, m_gatherPipeCount);
|
||||||
|
|
||||||
// increase the CPUWritePointer
|
// increase the CPUWritePointer
|
||||||
if (ProcessorInterface::Fifo_CPUWritePointer == ProcessorInterface::Fifo_CPUEnd)
|
|
||||||
ProcessorInterface::Fifo_CPUWritePointer = ProcessorInterface::Fifo_CPUBase;
|
|
||||||
else
|
|
||||||
ProcessorInterface::Fifo_CPUWritePointer += GATHER_PIPE_SIZE;
|
ProcessorInterface::Fifo_CPUWritePointer += GATHER_PIPE_SIZE;
|
||||||
|
|
||||||
|
if (ProcessorInterface::Fifo_CPUWritePointer > ProcessorInterface::Fifo_CPUEnd)
|
||||||
|
_assert_msg_(DYNA_REC, 0, "Fifo_CPUWritePointer out of bounds: %08x (end = %08x)",
|
||||||
|
ProcessorInterface::Fifo_CPUWritePointer, ProcessorInterface::Fifo_CPUEnd);
|
||||||
|
|
||||||
|
if (ProcessorInterface::Fifo_CPUWritePointer >= ProcessorInterface::Fifo_CPUEnd)
|
||||||
|
ProcessorInterface::Fifo_CPUWritePointer = ProcessorInterface::Fifo_CPUBase;
|
||||||
|
|
||||||
// TODO store video plugin pointer
|
// TODO store video plugin pointer
|
||||||
CPluginManager::GetInstance().GetVideo()->Video_GatherPipeBursted();
|
CPluginManager::GetInstance().GetVideo()->Video_GatherPipeBursted();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user