summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mrjong.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mrjong.c')
-rw-r--r--src/mame/drivers/mrjong.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mrjong.c b/src/mame/drivers/mrjong.c
index c3ac4951494..5895d2436f0 100644
--- a/src/mame/drivers/mrjong.c
+++ b/src/mame/drivers/mrjong.c
@@ -88,8 +88,8 @@ static READ8_HANDLER( io_0x03_r )
static ADDRESS_MAP_START( io_map, ADDRESS_SPACE_IO, 8 )
ADDRESS_MAP_GLOBAL_MASK(0xff)
AM_RANGE(0x00, 0x00) AM_READ_PORT("P2") AM_WRITE(io_0x00_w)
- AM_RANGE(0x01, 0x01) AM_READ_PORT("P1") AM_WRITE(sn76496_0_w)
- AM_RANGE(0x02, 0x02) AM_READ_PORT("DSW") AM_WRITE(sn76496_1_w)
+ AM_RANGE(0x01, 0x01) AM_READ_PORT("P1") AM_DEVWRITE(SOUND, "sn1", sn76496_w)
+ AM_RANGE(0x02, 0x02) AM_READ_PORT("DSW") AM_DEVWRITE(SOUND, "sn2", sn76496_w)
AM_RANGE(0x03, 0x03) AM_READ(io_0x03_r) // Unknown
ADDRESS_MAP_END