diff options
Diffstat (limited to 'src/mame/drivers/cubocd32.c')
-rw-r--r-- | src/mame/drivers/cubocd32.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mame/drivers/cubocd32.c b/src/mame/drivers/cubocd32.c index 5dbc77464dc..3224386645a 100644 --- a/src/mame/drivers/cubocd32.c +++ b/src/mame/drivers/cubocd32.c @@ -46,7 +46,6 @@ #include "driver.h" #include "cpu/m68000/m68000.h" -#include "sound/custom.h" #include "sound/cdda.h" #include "includes/amiga.h" #include "includes/cubocd32.h" @@ -89,7 +88,7 @@ static WRITE32_HANDLER( aga_overlay_w ) static WRITE8_DEVICE_HANDLER( cd32_cia_0_porta_w ) { /* bit 1 = cd audio mute */ - sndti_set_output_gain(SOUND_CDDA, 0, 0, ( data & 1 ) ? 0.0 : 1.0 ); + sound_set_output_gain(devtag_get_device(device->machine, SOUND, "cdda"), 0, ( data & 1 ) ? 0.0 : 1.0 ); /* bit 2 = Power Led on Amiga */ set_led_status(0, (data & 2) ? 0 : 1); @@ -210,13 +209,6 @@ INPUT_PORTS_END * *************************************/ -static const custom_sound_interface amiga_custom_interface = -{ - amiga_sh_start -}; - - - static const cia6526_interface cia_0_intf = { DEVCB_LINE(amiga_cia_0_irq), /* irq_func */ @@ -265,8 +257,7 @@ static MACHINE_DRIVER_START( cd32 ) /* sound hardware */ MDRV_SPEAKER_STANDARD_STEREO("left", "right") - MDRV_SOUND_ADD("amiga", CUSTOM, 3579545) - MDRV_SOUND_CONFIG(amiga_custom_interface) + MDRV_SOUND_ADD("amiga", AMIGA, 3579545) MDRV_SOUND_ROUTE(0, "left", 0.25) MDRV_SOUND_ROUTE(1, "right", 0.25) MDRV_SOUND_ROUTE(2, "right", 0.25) |