diff options
author | 2009-03-02 10:59:37 +0000 | |
---|---|---|
committer | 2009-03-02 10:59:37 +0000 | |
commit | 1dcd75d039272b7aff43a42f5fee6d9a8d822fe9 (patch) | |
tree | 78e1c567dfa6e032141d26f41f7a6526713ad26d /src/mame/drivers/ssozumo.c | |
parent | 4ad8ec54f87813301e92291447feb34893c8b417 (diff) |
Removed device types from device queries that use tags, under the
assumption that all device tags are unique. Specifically, the
following no longer need to provide a device type:
AM_DEVREAD/WRITE
DEVCB_DEVICE_HANDLER
devtag_get_device
devtag_reset
device_list_find_by_tag
as well as several device interfaces that referenced other devices.
Also fixed assertion due to overflow in the recent sound fix.
Diffstat (limited to 'src/mame/drivers/ssozumo.c')
-rw-r--r-- | src/mame/drivers/ssozumo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/ssozumo.c b/src/mame/drivers/ssozumo.c index 194fd863893..01e2e729d62 100644 --- a/src/mame/drivers/ssozumo.c +++ b/src/mame/drivers/ssozumo.c @@ -101,9 +101,9 @@ ADDRESS_MAP_END static ADDRESS_MAP_START( sound_writemem, ADDRESS_SPACE_PROGRAM, 8 ) AM_RANGE(0x0000, 0x01ff) AM_WRITE(SMH_RAM) - AM_RANGE(0x2000, 0x2001) AM_DEVWRITE(SOUND, "ay1", ay8910_data_address_w) - AM_RANGE(0x2002, 0x2003) AM_DEVWRITE(SOUND, "ay2", ay8910_data_address_w) - AM_RANGE(0x2004, 0x2004) AM_DEVWRITE(SOUND, "dac", dac_signed_w) + AM_RANGE(0x2000, 0x2001) AM_DEVWRITE("ay1", ay8910_data_address_w) + AM_RANGE(0x2002, 0x2003) AM_DEVWRITE("ay2", ay8910_data_address_w) + AM_RANGE(0x2004, 0x2004) AM_DEVWRITE("dac", dac_signed_w) AM_RANGE(0x2005, 0x2005) AM_WRITE(interrupt_enable_w) AM_RANGE(0x4000, 0xffff) AM_WRITE(SMH_ROM) ADDRESS_MAP_END |