summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2019-04-27 13:26:29 +1000
committerGitHub <noreply@github.com>2019-04-27 13:26:29 +1000
commitb5c3542cb588f7d1a6b433f90a62ef9d5efd89a9 (patch)
tree1c541a070154ed2ed644fe4a64069eb95eb71d79 /Source/Core/VideoCommon/CommandProcessor.cpp
parentaf9d2d612fbed7d3389bb3201aa58979706855c4 (diff)
parentc2abf092e947735f112bdc38f9919a61b431e381 (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.cpp10
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(