summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/timer.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/timer.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/timer.h')
-rw-r--r--src/emu/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/timer.h b/src/emu/timer.h
index e4e8a4f254d..e6e07bb8ef7 100644
--- a/src/emu/timer.h
+++ b/src/emu/timer.h
@@ -132,10 +132,10 @@ struct _timer_execution_state
MDRV_DEVICE_CONFIG_DATA32(timer_config, increment, _increment)
#define MDRV_TIMER_REMOVE(_tag) \
- MDRV_DEVICE_REMOVE(_tag, TIMER_SCREEN)
+ MDRV_DEVICE_REMOVE(_tag)
#define MDRV_TIMER_MODIFY(_tag) \
- MDRV_DEVICE_MODIFY(_tag, TIMER_SCREEN)
+ MDRV_DEVICE_MODIFY(_tag)
#define MDRV_TIMER_CALLBACK(_callback) \
MDRV_DEVICE_CONFIG_DATAPTR(timer_config, callback, _callback)