diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-04-27 13:26:29 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-27 13:26:29 +1000 |
| commit | b5c3542cb588f7d1a6b433f90a62ef9d5efd89a9 (patch) | |
| tree | 1c541a070154ed2ed644fe4a64069eb95eb71d79 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | af9d2d612fbed7d3389bb3201aa58979706855c4 (diff) | |
| parent | c2abf092e947735f112bdc38f9919a61b431e381 (diff) | |
Merge pull request #8039 from iwubcode/monster_lab_fix
CommandProcessor: Don't reset gather pipe on write the high distance bit (fixes monster lab)
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/CommandProcessor.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp index 10793bfdd3..e16c9bccc4 100644 --- a/Source/Core/VideoCommon/CommandProcessor.cpp +++ b/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( |
