mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Improve for my last commit, also reset the VideoBuffer and Forget turn on GPReadEnable. If this is not enoughs for GC games. I will replace CPReadWriteDistance = 0 for ProcessFifoAllDistance.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6974 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -805,11 +805,11 @@ void SetFifoIdleFromVideoPlugin()
|
||||
// to 0 when PI_FIFO_RESET occurs.
|
||||
void AbortFrame()
|
||||
{
|
||||
g_VideoInitialize.pResetGatherPipe();
|
||||
fifo.bFF_GPReadEnable = false;
|
||||
while (CommandProcessor::isFifoBusy)
|
||||
Common::YieldCPU();
|
||||
g_VideoInitialize.pResetGatherPipe();
|
||||
ResetVideoBuffer();
|
||||
fifo.CPReadPointer = fifo.CPWritePointer;
|
||||
fifo.CPReadWriteDistance = 0;
|
||||
fifo.CPBreakpoint = 0;
|
||||
@ -817,6 +817,7 @@ void AbortFrame()
|
||||
fifo.CPCmdIdle = false;
|
||||
PixelEngine::ResetSetToken();
|
||||
PixelEngine::ResetSetFinish();
|
||||
fifo.bFF_GPReadEnable = true;
|
||||
}
|
||||
|
||||
void SetOverflowStatusFromGatherPipe()
|
||||
|
Reference in New Issue
Block a user