diff options
author | arbee <rb6502@users.noreply.github.com> | 2020-11-16 09:23:07 -0500 |
---|---|---|
committer | arbee <rb6502@users.noreply.github.com> | 2020-11-16 09:23:07 -0500 |
commit | a17b844979f3c2768eedc93cf8d3bb867af4db0a (patch) | |
tree | 4ff81730db4024d4dafd91d5a44702dda389a2b5 /src/devices | |
parent | d6fbd53d2b7f1e88c7cbb0b859c9fd22726eee29 (diff) |
multipcm.cpp: Corrected clock divider and clocks for users of YMW-258-F to match schematics. [R. Belmont]
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/sound/multipcm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/multipcm.cpp b/src/devices/sound/multipcm.cpp index 3e974703372..f614f9f4ba8 100644 --- a/src/devices/sound/multipcm.cpp +++ b/src/devices/sound/multipcm.cpp @@ -481,7 +481,7 @@ multipcm_device::multipcm_device(const machine_config &mconfig, const char *tag, void multipcm_device::device_start() { - const float clock_divider = 180.0f; + const float clock_divider = 224.0f; m_rate = (float)clock() / clock_divider; m_stream = stream_alloc(0, 2, m_rate); @@ -622,7 +622,7 @@ void multipcm_device::device_start() void multipcm_device::device_clock_changed() { - const float clock_divider = 180.0f; + const float clock_divider = 224.0f; m_rate = (float)clock() / clock_divider; m_stream->set_sample_rate(m_rate); |