CPU: Delay interrupts by one instruction/block

Fixes Gameshark Sampler Disc.
This commit is contained in:
Connor McLaughlin
2020-07-03 00:57:22 +10:00
parent 8a8ce8d41c
commit 2d74062abb
3 changed files with 10 additions and 3 deletions

View File

@ -155,6 +155,7 @@ private:
bool m_next_instruction_is_branch_delay_slot = false;
bool m_branch_was_taken = false;
bool m_exception_raised = false;
bool m_interrupt_delay = false;
// load delays
Reg m_load_delay_reg = Reg::count;