diff options
Diffstat (limited to 'src/DMA.h')
-rw-r--r-- | src/DMA.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -41,6 +41,8 @@ public: return ((mode == StartMode) && (Cnt & 0x80000000)); } + bool IsRunning() { return Running!=0; } + void StartIfNeeded(u32 mode) { if ((mode == StartMode) && (Cnt & 0x80000000)) @@ -74,7 +76,7 @@ private: u32 DstAddrInc; u32 CountMask; - bool Running; + u32 Running; bool InProgress; bool Executing; |