diff options
author | Angelo Salese <lordkale4@gmail.com> | 2019-07-26 20:48:09 +0200 |
---|---|---|
committer | Angelo Salese <lordkale4@gmail.com> | 2019-07-26 20:48:09 +0200 |
commit | 90798d137dba9e9437ed78c78a52144fc1466f4e (patch) | |
tree | 21c6a707a546f75cfc0977763cea500808d730df | |
parent | 7b624b9ba8d7e7ff9188c1708733bef76c773620 (diff) |
taito_en.cpp: saner dividers for mb87078, fixes regression with Taito F3 volume control being too quiet [Angelo Salese]
-rw-r--r-- | src/mame/audio/taito_en.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/audio/taito_en.cpp b/src/mame/audio/taito_en.cpp index 1e2cfc96cd5..790b99f2129 100644 --- a/src/mame/audio/taito_en.cpp +++ b/src/mame/audio/taito_en.cpp @@ -129,11 +129,11 @@ WRITE8_MEMBER(taito_en_device::mb87078_gain_changed) if (offset > 1) { // TODO : ES5505 Volume control is correct? - m_ensoniq->set_output_gain(offset & 1, data / 100.0); - m_ensoniq->set_output_gain(2|(offset & 1), data / 100.0); - m_ensoniq->set_output_gain(4|(offset & 1), data / 100.0); - m_ensoniq->set_output_gain(6|(offset & 1), data / 100.0); - m_pump->set_output_gain(offset & 1, data / 100.0); + m_ensoniq->set_output_gain(offset & 1, data / 32.0); + m_ensoniq->set_output_gain(2|(offset & 1), data / 32.0); + m_ensoniq->set_output_gain(4|(offset & 1), data / 32.0); + m_ensoniq->set_output_gain(6|(offset & 1), data / 32.0); + m_pump->set_output_gain(offset & 1, data / 32.0); } } |