summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gng.c')
-rw-r--r--src/mame/drivers/gng.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/gng.c b/src/mame/drivers/gng.c
index e29e0fe75e5..caeaceec3a7 100644
--- a/src/mame/drivers/gng.c
+++ b/src/mame/drivers/gng.c
@@ -106,10 +106,8 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( sound_writemem, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0xc000, 0xc7ff) AM_WRITE(SMH_RAM)
- AM_RANGE(0xe000, 0xe000) AM_WRITE(ym2203_control_port_0_w)
- AM_RANGE(0xe001, 0xe001) AM_WRITE(ym2203_write_port_0_w)
- AM_RANGE(0xe002, 0xe002) AM_WRITE(ym2203_control_port_1_w)
- AM_RANGE(0xe003, 0xe003) AM_WRITE(ym2203_write_port_1_w)
+ AM_RANGE(0xe000, 0xe001) AM_DEVWRITE(SOUND, "ym1", ym2203_w)
+ AM_RANGE(0xe002, 0xe003) AM_DEVWRITE(SOUND, "ym2", ym2203_w)
AM_RANGE(0x0000, 0x7fff) AM_WRITE(SMH_ROM)
ADDRESS_MAP_END