summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/munchmo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/munchmo.c')
-rw-r--r--src/mame/drivers/munchmo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/munchmo.c b/src/mame/drivers/munchmo.c
index ab784151466..b03a9c10aef 100644
--- a/src/mame/drivers/munchmo.c
+++ b/src/mame/drivers/munchmo.c
@@ -118,10 +118,10 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( sound_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x0000, 0x1fff) AM_ROM
AM_RANGE(0x2000, 0x2000) AM_READ(soundlatch_r)
- AM_RANGE(0x4000, 0x4000) AM_WRITE(ay8910_write_port_0_w)
- AM_RANGE(0x5000, 0x5000) AM_WRITE(ay8910_control_port_0_w)
- AM_RANGE(0x6000, 0x6000) AM_WRITE(ay8910_write_port_1_w)
- AM_RANGE(0x7000, 0x7000) AM_WRITE(ay8910_control_port_1_w)
+ AM_RANGE(0x4000, 0x4000) AM_DEVWRITE(SOUND, "ay1", ay8910_data_w)
+ AM_RANGE(0x5000, 0x5000) AM_DEVWRITE(SOUND, "ay1", ay8910_address_w)
+ AM_RANGE(0x6000, 0x6000) AM_DEVWRITE(SOUND, "ay2", ay8910_data_w)
+ AM_RANGE(0x7000, 0x7000) AM_DEVWRITE(SOUND, "ay2", ay8910_address_w)
AM_RANGE(0x8000, 0x8000) AM_WRITENOP /* ? */
AM_RANGE(0xa000, 0xa000) AM_WRITENOP /* ? */
AM_RANGE(0xc000, 0xc000) AM_WRITE(sound_nmi_ack_w)