summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/battlex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/battlex.c')
-rw-r--r--src/mame/drivers/battlex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mame/drivers/battlex.c b/src/mame/drivers/battlex.c
index 424c8fd5ff1..a34579a7506 100644
--- a/src/mame/drivers/battlex.c
+++ b/src/mame/drivers/battlex.c
@@ -85,8 +85,7 @@ static ADDRESS_MAP_START( io_map, ADDRESS_SPACE_IO, 8 )
AM_RANGE(0x10, 0x10) AM_WRITE(battlex_flipscreen_w)
/* verify all of these */
- AM_RANGE(0x22, 0x22) AM_WRITE(ay8910_write_port_0_w)
- AM_RANGE(0x23, 0x23) AM_WRITE(ay8910_control_port_0_w)
+ AM_RANGE(0x22, 0x23) AM_DEVWRITE(SOUND, "ay", ay8910_data_address_w)
/* 0x30 looks like scroll, but can't be ? changes (increases or decreases)
depending on the direction your ship is facing on lev 2. at least */