ares-openbsd/ares/n64/pif
Giovanni Bajo 18c84a83e4
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.
2023-12-17 14:27:57 +00:00
..
debugger.cpp
hle.cpp
io.cpp n64: improve PIF HLE emulation by reducing latency (#1351) 2023-12-17 14:27:57 +00:00
pif.cpp
pif.hpp
serialization.cpp