summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/fcombat.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-04-09 20:23:26 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-04-09 20:23:26 +0000
commit5181e3ea96e9cb8f65d346fc27d0b8ccde3576af (patch)
tree025f61176625c851e8e1f1a2b056015cba9be3c9 /src/mame/drivers/fcombat.c
parent6711559e87f917df9f789f56722d987b3ba78d50 (diff)
Moved soundlatch helpers into driver.c and removed emu/audio/generic.c.
Normalized soundlatch helper function names. Created delegates for machine/sound/video_start/reset callbacks and added necessary infrastructure to use them going forward.
Diffstat (limited to 'src/mame/drivers/fcombat.c')
-rw-r--r--src/mame/drivers/fcombat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/fcombat.c b/src/mame/drivers/fcombat.c
index 72b21e0521f..77148779677 100644
--- a/src/mame/drivers/fcombat.c
+++ b/src/mame/drivers/fcombat.c
@@ -126,14 +126,14 @@ static ADDRESS_MAP_START( main_map, AS_PROGRAM, 8, fcombat_state )
AM_RANGE(0xec00, 0xec00) AM_WRITE(ec00_w)
AM_RANGE(0xed00, 0xed00) AM_WRITE(ed00_w)
AM_RANGE(0xee00, 0xee00) AM_WRITE(ee00_w) // related to protection ? - doesn't seem to have any effect
- AM_RANGE(0xef00, 0xef00) AM_WRITE(soundlatch_w)
+ AM_RANGE(0xef00, 0xef00) AM_WRITE(soundlatch_byte_w)
ADDRESS_MAP_END
static ADDRESS_MAP_START( audio_map, AS_PROGRAM, 8, fcombat_state )
AM_RANGE(0x0000, 0x3fff) AM_ROM
AM_RANGE(0x4000, 0x47ff) AM_RAM
- AM_RANGE(0x6000, 0x6000) AM_READ(soundlatch_r)
+ AM_RANGE(0x6000, 0x6000) AM_READ(soundlatch_byte_r)
AM_RANGE(0x8001, 0x8001) AM_DEVREAD_LEGACY("ay1", ay8910_r)
AM_RANGE(0x8002, 0x8003) AM_DEVWRITE_LEGACY("ay1", ay8910_data_address_w)
AM_RANGE(0xa001, 0xa001) AM_DEVREAD_LEGACY("ay2", ay8910_r)