mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
ProcessorInterface: Reset both GPFifo and Fifo on PI_FIFO_RESET
Fixes https://bugs.dolphin-emu.org/issues/12981
This commit is contained in:
parent
97412553f9
commit
5bbdf7ae15
@ -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>([](u32) {
|
||||
|
Loading…
Reference in New Issue
Block a user