From 87760297fcf2a04074c22e4b4f8680ec0362fff1 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 27 Feb 2018 22:59:29 -0500 Subject: [PATCH] Fixes underpumping of SN76489. Audio works now. Though I still need properly to confirm who owns dividers in practice. I think probably all division should be within the SN. --- Machines/ColecoVision/ColecoVision.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/ColecoVision/ColecoVision.cpp b/Machines/ColecoVision/ColecoVision.cpp index 91242f97d..40b569f52 100644 --- a/Machines/ColecoVision/ColecoVision.cpp +++ b/Machines/ColecoVision/ColecoVision.cpp @@ -109,7 +109,7 @@ class ConcreteMachine: z80_(*this), sn76489_(audio_queue_), speaker_(sn76489_) { - speaker_.set_input_rate(3579545.0f); // TODO: try to find out whether this is correct. + speaker_.set_input_rate(3579545.0f / 2.0f); // TODO: try to find out whether this is correct. set_clock_rate(3579545); joysticks_.emplace_back(new Joystick); joysticks_.emplace_back(new Joystick);