diff options
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 |
commit | 5181e3ea96e9cb8f65d346fc27d0b8ccde3576af (patch) | |
tree | 025f61176625c851e8e1f1a2b056015cba9be3c9 /src/mame/drivers/bionicc.c | |
parent | 6711559e87f917df9f789f56722d987b3ba78d50 (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/bionicc.c')
-rw-r--r-- | src/mame/drivers/bionicc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/bionicc.c b/src/mame/drivers/bionicc.c index cb658e70f21..91539c80762 100644 --- a/src/mame/drivers/bionicc.c +++ b/src/mame/drivers/bionicc.c @@ -102,7 +102,7 @@ WRITE16_MEMBER(bionicc_state::hacked_soundcommand_w) { COMBINE_DATA(&m_soundcommand); - soundlatch_w(space, 0, m_soundcommand & 0xff); + soundlatch_byte_w(space, 0, m_soundcommand & 0xff); } READ16_MEMBER(bionicc_state::hacked_soundcommand_r) @@ -164,7 +164,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( sound_map, AS_PROGRAM, 8, bionicc_state ) AM_RANGE(0x0000, 0x7fff) AM_ROM AM_RANGE(0x8000, 0x8001) AM_DEVREADWRITE_LEGACY("ymsnd", ym2151_r, ym2151_w) - AM_RANGE(0xa000, 0xa000) AM_READ(soundlatch_r) + AM_RANGE(0xa000, 0xa000) AM_READ(soundlatch_byte_r) AM_RANGE(0xc000, 0xc7ff) AM_RAM ADDRESS_MAP_END |