diff options
Diffstat (limited to 'src/ARM.h')
-rw-r--r-- | src/ARM.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -43,9 +43,19 @@ public: void Halt(u32 halt) { + if (halt==2 && Halted==1) return; Halted = halt; } + void CheckIRQ() + { + if (!(NDS::IME[Num] & 0x1)) return; + if (NDS::IF[Num] & NDS::IE[Num]) + { + TriggerIRQ(); + } + } + s32 Execute(); bool CheckCondition(u32 code) |