summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xmen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xmen.c')
-rw-r--r--src/mame/drivers/xmen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mame/drivers/xmen.c b/src/mame/drivers/xmen.c
index c94ccabbc8b..fc15dae4666 100644
--- a/src/mame/drivers/xmen.c
+++ b/src/mame/drivers/xmen.c
@@ -181,9 +181,8 @@ static ADDRESS_MAP_START( sound_map, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0x8000, 0xbfff) AM_READ(SMH_BANK4)
AM_RANGE(0x8000, 0xbfff) AM_WRITE(SMH_ROM)
AM_RANGE(0xc000, 0xdfff) AM_RAM
- AM_RANGE(0xe000, 0xe22f) AM_READWRITE(k054539_0_r, k054539_0_w)
- AM_RANGE(0xe800, 0xe800) AM_WRITE(ym2151_register_port_0_w)
- AM_RANGE(0xec01, 0xec01) AM_READWRITE(ym2151_status_port_0_r, ym2151_data_port_0_w)
+ AM_RANGE(0xe000, 0xe22f) AM_DEVREADWRITE(SOUND, "konami", k054539_r, k054539_w)
+ AM_RANGE(0xe800, 0xe801) AM_MIRROR(0x0400) AM_DEVREADWRITE(SOUND, "ym", ym2151_r, ym2151_w)
AM_RANGE(0xf000, 0xf000) AM_WRITE(soundlatch2_w)
AM_RANGE(0xf002, 0xf002) AM_READ(soundlatch_r)
AM_RANGE(0xf800, 0xf800) AM_WRITE(sound_bankswitch_w)