diff --git a/Machines/Amiga/Audio.cpp b/Machines/Amiga/Audio.cpp index 1fc59995c..ee5b49eda 100644 --- a/Machines/Amiga/Audio.cpp +++ b/Machines/Amiga/Audio.cpp @@ -467,6 +467,8 @@ template <> bool Audio::Channel::transit< // TODO: include napnav in tests + period_counter = period; // i.e. percntrld + if(!dma_enabled) { return true; } else { diff --git a/Machines/Amiga/Audio.hpp b/Machines/Amiga/Audio.hpp index 06db57965..e328d8e7a 100644 --- a/Machines/Amiga/Audio.hpp +++ b/Machines/Amiga/Audio.hpp @@ -106,7 +106,7 @@ class Audio: public DMADevice<4> { // Output state. int8_t output_level = 0; - uint8_t output_phase = 0; + uint8_t output_phase = 0; // TODO: this should count down, not up. bool output_enabled = false; } channels_[4];