aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2020-07-27 23:18:33 +0200
committerRSDuck <rsduck@users.noreply.github.com>2020-07-27 23:18:33 +0200
commitea734084cad4334e0a1247be99320e37f3bd2ee1 (patch)
tree0674498e32bea9166b9be1eeab2bd47dc07fe05a /src
parent5903b11bda0aa181f2914a06650b2cbaf28aa9f1 (diff)
check DSi interrupts for halted processor wakeup
Diffstat (limited to 'src')
-rw-r--r--src/NDS.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}