Merge pull request #8039 from iwubcode/monster_lab_fix
CommandProcessor: Don't reset gather pipe on write the high distance bit (fixes monster lab)
This commit is contained in:
commit
b5c3542cb5
|
@ -276,15 +276,7 @@ void RegisterMMIO(MMIO::Mapping* mmio, u32 base)
|
||||||
MMIO::ComplexWrite<u16>([WMASK_HI_RESTRICT](u32, u16 val) {
|
MMIO::ComplexWrite<u16>([WMASK_HI_RESTRICT](u32, u16 val) {
|
||||||
WriteHigh(fifo.CPReadWriteDistance, val & WMASK_HI_RESTRICT);
|
WriteHigh(fifo.CPReadWriteDistance, val & WMASK_HI_RESTRICT);
|
||||||
Fifo::SyncGPU(Fifo::SyncGPUReason::Other);
|
Fifo::SyncGPU(Fifo::SyncGPUReason::Other);
|
||||||
if (fifo.CPReadWriteDistance == 0)
|
Fifo::ResetVideoBuffer();
|
||||||
{
|
|
||||||
GPFifo::ResetGatherPipe();
|
|
||||||
Fifo::ResetVideoBuffer();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Fifo::ResetVideoBuffer();
|
|
||||||
}
|
|
||||||
Fifo::RunGpu();
|
Fifo::RunGpu();
|
||||||
}));
|
}));
|
||||||
mmio->Register(
|
mmio->Register(
|
||||||
|
|
Loading…
Reference in New Issue