summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-05-11 00:31:33 +1000
committerStenzek <stenzek@gmail.com>2019-05-11 00:31:37 +1000
commit3e29fdb4a71fc77858ee8363fbecbec79f14983e (patch)
treef38c17a89cde243ddff6f2aa8eedaf9cea8fae80 /Source/Core/VideoCommon
parent672e8d78c6c509934666b60139a98c8f1ed52183 (diff)
CommandProcessor: Don't reset the video buffer when FIFO distance is changed
This prevents partially-processed commands from being lost when switching buffers.
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/CommandProcessor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/CommandProcessor.cpp b/Source/Core/VideoCommon/CommandProcessor.cpp
index e16c9bccc4..897675f4e0 100644
--- a/Source/Core/VideoCommon/CommandProcessor.cpp
+++ b/Source/Core/VideoCommon/CommandProcessor.cpp
@@ -276,7 +276,6 @@ 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);
- Fifo::ResetVideoBuffer();
Fifo::RunGpu();
}));
mmio->Register(