summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tagteam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tagteam.c')
-rw-r--r--src/mame/drivers/tagteam.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/tagteam.c b/src/mame/drivers/tagteam.c
index 0f1ee869a85..0f17d8ccef7 100644
--- a/src/mame/drivers/tagteam.c
+++ b/src/mame/drivers/tagteam.c
@@ -68,11 +68,9 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( sound_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0x03ff) AM_RAM
- AM_RANGE(0x2000, 0x2000) AM_WRITE(ay8910_write_port_0_w)
- AM_RANGE(0x2001, 0x2001) AM_WRITE(ay8910_control_port_0_w)
- AM_RANGE(0x2002, 0x2002) AM_WRITE(ay8910_write_port_1_w)
- AM_RANGE(0x2003, 0x2003) AM_WRITE(ay8910_control_port_1_w)
- AM_RANGE(0x2004, 0x2004) AM_WRITE(dac_0_data_w)
+ AM_RANGE(0x2000, 0x2001) AM_DEVWRITE(SOUND, "ay1", ay8910_data_address_w)
+ AM_RANGE(0x2002, 0x2003) AM_DEVWRITE(SOUND, "ay2", ay8910_data_address_w)
+ AM_RANGE(0x2004, 0x2004) AM_DEVWRITE(SOUND, "dac", dac_w)
AM_RANGE(0x2005, 0x2005) AM_WRITE(interrupt_enable_w)
AM_RANGE(0x2007, 0x2007) AM_READ(soundlatch_r)
AM_RANGE(0x4000, 0xffff) AM_READ(SMH_ROM)