VideoCommon: Do not reset the gather pipe (WPAR buffer) as this does not reflect what actually happens on real hardware. On hardware, there's no way for the GPU to signal to reset the WPAR buffer. Instead, the WPAR buffer will be reset automatically upon receiving 32 bytes or when spr[WPAR] is written
This commit is contained in:
parent
59c0e51f5b
commit
c2abf092e9
|
@ -276,15 +276,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
|
|||
MMIO::ComplexWrite<u16>([WMASK_HI_RESTRICT](u32, u16 val) {
|
||||
WriteHigh(fifo.CPReadWriteDistance, val & WMASK_HI_RESTRICT);
|
||||
Fifo::SyncGPU(Fifo::SyncGPUReason::Other);
|
||||
if (fifo.CPReadWriteDistance == 0)
|
||||
{
|
||||
GPFifo::ResetGatherPipe();
|
||||
Fifo::ResetVideoBuffer();
|
||||
}
|
||||
else
|
||||
{
|
||||
Fifo::ResetVideoBuffer();
|
||||
}
|
||||
Fifo::ResetVideoBuffer();
|
||||
Fifo::RunGpu();
|
||||
}));
|
||||
mmio->Register(
|
||||
|
|
Loading…
Reference in New Issue