mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-26 08:49:37 +00:00
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.
This commit is contained in:
parent
5b854d51e7
commit
87760297fc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user