diff options
Diffstat (limited to 'src/mame/machine/hec2hrp.cpp')
-rw-r--r-- | src/mame/machine/hec2hrp.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/machine/hec2hrp.cpp b/src/mame/machine/hec2hrp.cpp index cd0955f87a0..00b7be2b622 100644 --- a/src/mame/machine/hec2hrp.cpp +++ b/src/mame/machine/hec2hrp.cpp @@ -798,7 +798,7 @@ void hec2hrp_state::hector_init() /* sound hardware */ -static DISCRETE_SOUND_START( hec2hrp ) +static DISCRETE_SOUND_START( hec2hrp_discrete ) DISCRETE_INPUT_LOGIC(NODE_01) DISCRETE_OUTPUT(NODE_01, 5000) DISCRETE_SOUND_END @@ -820,8 +820,7 @@ MACHINE_CONFIG_START(hec2hrp_state::hector_audio) MCFG_SN76477_ONESHOT_PARAMS(CAP_U(1.00001), RES_K(10000)) // oneshot caps + res MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.1) - MCFG_DEVICE_ADD("discrete", DISCRETE) /* Son 1bit*/ - MCFG_DISCRETE_INTF(hec2hrp) + MCFG_DEVICE_ADD("discrete", DISCRETE, hec2hrp_discrete) /* Son 1bit*/ MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0) MACHINE_CONFIG_END |