From 1928c955d94415a3399c0edbe60383284e151d00 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 9 Dec 2020 19:46:32 -0500 Subject: [PATCH] Ensures safe startup of the Ensoniq. --- Machines/Apple/AppleIIgs/Sound.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Machines/Apple/AppleIIgs/Sound.hpp b/Machines/Apple/AppleIIgs/Sound.hpp index a8b8e4e88..24f99c53c 100644 --- a/Machines/Apple/AppleIIgs/Sound.hpp +++ b/Machines/Apple/AppleIIgs/Sound.hpp @@ -89,8 +89,8 @@ class GLU: public Outputs::Speaker::SampleSource { } oscillators[32]; // Some of these aren't actually needed on both threads. - uint8_t control; - int oscillator_count; + uint8_t control = 0; + int oscillator_count = 1; void set_register(uint16_t address, uint8_t value); } local_, remote_;