aboutsummaryrefslogtreecommitdiff
path: root/src/DSi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DSi.cpp')
-rw-r--r--src/DSi.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DSi.cpp b/src/DSi.cpp
index 15160b2..17bfb8f 100644
--- a/src/DSi.cpp
+++ b/src/DSi.cpp
@@ -959,10 +959,10 @@ void RunNDMAs(u32 cpu)
{
if (NDS::ARM9Timestamp >= NDS::ARM9Target) return;
- if (!(NDS::CPUStop & 0x80000000)) NDMAs[0]->Run();
- if (!(NDS::CPUStop & 0x80000000)) NDMAs[1]->Run();
- if (!(NDS::CPUStop & 0x80000000)) NDMAs[2]->Run();
- if (!(NDS::CPUStop & 0x80000000)) NDMAs[3]->Run();
+ if (!(NDS::CPUStop & NDS::CPUStop_GXStall)) NDMAs[0]->Run();
+ if (!(NDS::CPUStop & NDS::CPUStop_GXStall)) NDMAs[1]->Run();
+ if (!(NDS::CPUStop & NDS::CPUStop_GXStall)) NDMAs[2]->Run();
+ if (!(NDS::CPUStop & NDS::CPUStop_GXStall)) NDMAs[3]->Run();
}
else
{