aboutsummaryrefslogtreecommitdiff
path: root/src/DSi_NDMA.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DSi_NDMA.h')
-rw-r--r--src/DSi_NDMA.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DSi_NDMA.h b/src/DSi_NDMA.h
index 7e87da7..fb34dbd 100644
--- a/src/DSi_NDMA.h
+++ b/src/DSi_NDMA.h
@@ -44,12 +44,12 @@ public:
void Run9();
void Run7();
- bool IsInMode(u32 mode)
+ bool IsInMode(u32 mode) const
{
return ((mode == StartMode) && (Cnt & 0x80000000));
}
- bool IsRunning() { return Running!=0; }
+ bool IsRunning() const { return Running!=0; }
void StartIfNeeded(u32 mode)
{