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:
Connor McLaughlin 2019-04-27 13:26:29 +10:00 committed by GitHub
commit b5c3542cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 9 deletions

View File

@ -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(