summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/esd16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/esd16.c')
-rw-r--r--src/mame/drivers/esd16.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/esd16.c b/src/mame/drivers/esd16.c
index fd852da4ca0..ad3afdd120e 100644
--- a/src/mame/drivers/esd16.c
+++ b/src/mame/drivers/esd16.c
@@ -307,9 +307,8 @@ static READ8_HANDLER( esd16_sound_command_r )
static ADDRESS_MAP_START( multchmp_sound_io_map, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_GLOBAL_MASK(0xff)
- AM_RANGE(0x00, 0x00) AM_WRITE(ym3812_control_port_0_w ) // YM3812
- AM_RANGE(0x01, 0x01) AM_WRITE(ym3812_write_port_0_w )
- AM_RANGE(0x02, 0x02) AM_READWRITE(okim6295_status_0_r, okim6295_data_0_w) // M6295
+ AM_RANGE(0x00, 0x01) AM_DEVWRITE(SOUND, "ym", ym3812_w ) // YM3812
+ AM_RANGE(0x02, 0x02) AM_DEVREADWRITE(SOUND, "oki", okim6295_r, okim6295_w) // M6295
AM_RANGE(0x03, 0x03) AM_READ(esd16_sound_command_r ) // From Main CPU
AM_RANGE(0x04, 0x04) AM_WRITE(SMH_NOP ) // ? $00, $30
AM_RANGE(0x05, 0x05) AM_WRITE(esd16_sound_rombank_w ) // ROM Bank