diff options
author | 2009-03-02 10:59:37 +0000 | |
---|---|---|
committer | 2009-03-02 10:59:37 +0000 | |
commit | 1dcd75d039272b7aff43a42f5fee6d9a8d822fe9 (patch) | |
tree | 78e1c567dfa6e032141d26f41f7a6526713ad26d /src/emu/machine/6526cia.h | |
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/emu/machine/6526cia.h')
-rw-r--r-- | src/emu/machine/6526cia.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/machine/6526cia.h b/src/emu/machine/6526cia.h index f8cea3d34aa..eb227e76501 100644 --- a/src/emu/machine/6526cia.h +++ b/src/emu/machine/6526cia.h @@ -25,15 +25,15 @@ MDRV_DEVICE_ADD(_tag, _variant, _clock) \ MDRV_DEVICE_CONFIG(_config) -#define MDRV_CIA6526_REMOVE(_tag, _variant) \ - MDRV_DEVICE_REMOVE(_tag, _variant) +#define MDRV_CIA6526_REMOVE(_tag) \ + MDRV_DEVICE_REMOVE(_tag) #define MDRV_CIA8520_ADD(_tag, _clock, _config) \ MDRV_DEVICE_ADD(_tag, CIA8520, _clock) \ MDRV_DEVICE_CONFIG(_config) #define MDRV_CIA8520_REMOVE(_tag) \ - MDRV_DEVICE_REMOVE(_tag, CIA8520) + MDRV_DEVICE_REMOVE(_tag) |