summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/timekpr.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-03-02 10:59:37 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-03-02 10:59:37 +0000
commit1dcd75d039272b7aff43a42f5fee6d9a8d822fe9 (patch)
tree78e1c567dfa6e032141d26f41f7a6526713ad26d /src/emu/machine/timekpr.h
parent4ad8ec54f87813301e92291447feb34893c8b417 (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/timekpr.h')
-rw-r--r--src/emu/machine/timekpr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/machine/timekpr.h b/src/emu/machine/timekpr.h
index ea761190d64..7a27f640175 100644
--- a/src/emu/machine/timekpr.h
+++ b/src/emu/machine/timekpr.h
@@ -25,7 +25,7 @@ DEVICE_GET_INFO(m48t02);
MDRV_DEVICE_ADD(_tag, M48T02, 0)
#define MDRV_M48T02_REMOVE(_tag) \
- MDRV_DEVICE_REMOVE(_tag, M48T02)
+ MDRV_DEVICE_REMOVE(_tag)
#define M48T35 DEVICE_GET_INFO_NAME(m48t35)
@@ -35,7 +35,7 @@ DEVICE_GET_INFO(m48t35);
MDRV_DEVICE_ADD(_tag, M48T35, 0)
#define MDRV_M48T35_REMOVE(_tag) \
- MDRV_DEVICE_REMOVE(_tag, M48T35)
+ MDRV_DEVICE_REMOVE(_tag)
#define M48T58 DEVICE_GET_INFO_NAME(m48t58)
@@ -45,7 +45,7 @@ DEVICE_GET_INFO(m48t58);
MDRV_DEVICE_ADD(_tag, M48T58, 0)
#define MDRV_M48T58_REMOVE(_tag) \
- MDRV_DEVICE_REMOVE(_tag, M48T58)
+ MDRV_DEVICE_REMOVE(_tag)
#define MK48T08 DEVICE_GET_INFO_NAME(mk48t08)
@@ -55,7 +55,7 @@ DEVICE_GET_INFO(mk48t08);
MDRV_DEVICE_ADD(_tag, MK48T08, 0)
#define MDRV_MK48T08_REMOVE(_tag) \
- MDRV_DEVICE_REMOVE(_tag, MK48T08)
+ MDRV_DEVICE_REMOVE(_tag)
/* memory handlers */