From 5181e3ea96e9cb8f65d346fc27d0b8ccde3576af Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 9 Apr 2012 20:23:26 +0000 Subject: 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. --- src/mame/drivers/fcombat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mame/drivers/fcombat.c') 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) -- cgit v1.2.3