Skip to content
Permalink
Browse files

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
  • Loading branch information...
iwubcode committed Apr 27, 2019
1 parent 59c0e51 commit c2abf092e947735f112bdc38f9919a61b431e381
Showing with 1 addition and 9 deletions.
  1. +1 −9 Source/Core/VideoCommon/CommandProcessor.cpp
@@ -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(

0 comments on commit c2abf09

Please sign in to comment.
You can’t perform that action at this time.