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/omegrace.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/omegrace.c')
-rw-r--r-- | src/mame/drivers/omegrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/omegrace.c b/src/mame/drivers/omegrace.c index a2d22a7e140..096f3cd6e5f 100644 --- a/src/mame/drivers/omegrace.c +++ b/src/mame/drivers/omegrace.c @@ -326,7 +326,7 @@ WRITE8_MEMBER(omegrace_state::omegrace_leds_w) WRITE8_MEMBER(omegrace_state::omegrace_soundlatch_w) { - soundlatch_w (space, offset, data); + soundlatch_byte_w (space, offset, data); cputag_set_input_line(machine(), "audiocpu", 0, HOLD_LINE); } @@ -378,7 +378,7 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( sound_port, AS_IO, 8, omegrace_state ) ADDRESS_MAP_GLOBAL_MASK(0xff) - AM_RANGE(0x00, 0x00) AM_READ(soundlatch_r) /* likely ay8910 input port, not direct */ + AM_RANGE(0x00, 0x00) AM_READ(soundlatch_byte_r) /* likely ay8910 input port, not direct */ AM_RANGE(0x00, 0x01) AM_DEVWRITE_LEGACY("ay1", ay8910_address_data_w) AM_RANGE(0x02, 0x03) AM_DEVWRITE_LEGACY("ay2", ay8910_address_data_w) ADDRESS_MAP_END |