diff --git a/Core/DmaController.cpp b/Core/DmaController.cpp index 18bf676..1982b69 100644 --- a/Core/DmaController.cpp +++ b/Core/DmaController.cpp @@ -83,8 +83,11 @@ void DmaController::RunDma(DmaChannelConfig &channel) void DmaController::InitHdmaChannels() { - //"The overhead is ~18 master cycles" - _memoryManager->IncrementMasterClockValue<18>(); + if(_hdmaChannels) { + //"The overhead is ~18 master cycles" + _memoryManager->IncrementMasterClockValue<18>(); + } + for(int i = 0; i < 8; i++) { DmaChannelConfig &ch = _channel[i];