mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
taito_en.cpp: saner dividers for mb87078, fixes regression with Taito F3 volume control being too quiet [Angelo Salese]
This commit is contained in:
parent
7b624b9ba8
commit
90798d137d
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user