c0d8ffaa38
This accounts for DMA stealing cycles from the CPU whenever the CPU triggers a DMA (does not affect H/V blank or sound DMAs). Works by moving the CPU to a PAUSED state where the cycles are accounted for, reusing a similar mechanism for HALT/STOP. Fixes a couple of games, notably GTA that has a DMA/IRQ race condition (likely a bug really) if cycles are grossly miscalculated. |
||
---|---|---|
.. | ||
mips_codegen.h | ||
mips_emit.h | ||
mips_stub.S |