From 5bbdf7ae154a5da03d66c38855f2b1890a2a3dc8 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 22 Jul 2022 15:07:19 -0700 Subject: [PATCH] ProcessorInterface: Reset both GPFifo and Fifo on PI_FIFO_RESET Fixes https://bugs.dolphin-emu.org/issues/12981 --- Source/Core/Core/HW/ProcessorInterface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/Core/HW/ProcessorInterface.cpp b/Source/Core/Core/HW/ProcessorInterface.cpp index bc0321c2dd..5e752c13f7 100644 --- a/Source/Core/Core/HW/ProcessorInterface.cpp +++ b/Source/Core/Core/HW/ProcessorInterface.cpp @@ -106,7 +106,10 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base) // Used by GXAbortFrame INFO_LOG_FMT(PROCESSORINTERFACE, "Wrote PI_FIFO_RESET: {:08x}", val); if ((val & 1) != 0) + { + GPFifo::ResetGatherPipe(); Fifo::ResetVideoBuffer(); + } })); mmio->Register(base | PI_RESET_CODE, MMIO::ComplexRead([](u32) {