mirror of
https://github.com/holub/mame
synced 2025-05-24 23:05:32 +03:00
04932: gunlock: No Sound [Phil Bennett]
This commit is contained in:
parent
f7a125b8ea
commit
cb9a652ba8
@ -248,11 +248,11 @@ SOUND_RESET( taito_en_soundsystem_reset )
|
|||||||
|
|
||||||
static void mb87078_gain_changed( running_machine &machine, int channel, int percent )
|
static void mb87078_gain_changed( running_machine &machine, int channel, int percent )
|
||||||
{
|
{
|
||||||
if (channel < 2)
|
if (channel > 1)
|
||||||
{
|
{
|
||||||
es5505_device *es5505 = machine.device<es5505_device>("ensoniq");
|
es5505_device *es5505 = machine.device<es5505_device>("ensoniq");
|
||||||
|
|
||||||
es5505->set_output_gain(channel, percent / 100.0);
|
es5505->set_output_gain(channel & 1, percent / 100.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user