From ea734084cad4334e0a1247be99320e37f3bd2ee1 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Mon, 27 Jul 2020 23:18:33 +0200 Subject: check DSi interrupts for halted processor wakeup --- src/NDS.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/NDS.cpp b/src/NDS.cpp index 65c3223..823d39a 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -1270,6 +1270,9 @@ bool HaltInterrupted(u32 cpu) if (IF[cpu] & IE[cpu]) return true; + if ((ConsoleType == 1) && cpu && (IF2 & IE2)) + return true; + return false; } -- cgit v1.2.3