Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
n64: improve PIF HLE emulation by reducing latency (#1351)
When doing PIF HLE emulation, we run the HLE state machine just once per frame. This is OK in general, but there can be a few situations where this can cause PIF to miss one command from CPU. For instance, a ROM might send the PIF boot termination command (0x8) and then shortly after issue a SI DMA to identify controllers. If the two happen within the same frame, our HLE emulation would miss the boot termination command. This commit updates the HLE state machine also after each write to PIF RAM.
- Loading branch information