mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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:
@ -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(
|
||||
|
Reference in New Issue
Block a user