diff --git a/Components/AY38910/AY38910.hpp b/Components/AY38910/AY38910.hpp index 737a0c8ea..e9784a87e 100644 --- a/Components/AY38910/AY38910.hpp +++ b/Components/AY38910/AY38910.hpp @@ -92,7 +92,7 @@ class AY38910: public ::Outputs::Speaker::SampleSource { Concurrency::DeferringAsyncTaskQueue &task_queue_; int selected_register_ = 0; - uint8_t registers_[16]; + uint8_t registers_[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; uint8_t output_registers_[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; uint8_t port_inputs_[2];