From 1dcd75d039272b7aff43a42f5fee6d9a8d822fe9 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 2 Mar 2009 10:59:37 +0000 Subject: 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. --- src/emu/machine/x2212.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/machine/x2212.h') diff --git a/src/emu/machine/x2212.h b/src/emu/machine/x2212.h index bea4b32e8c5..31d47f86d97 100644 --- a/src/emu/machine/x2212.h +++ b/src/emu/machine/x2212.h @@ -21,7 +21,7 @@ DEVICE_GET_INFO(x2212); MDRV_DEVICE_ADD(_tag, X2212, 0) #define MDRV_X2212_REMOVE(_tag) \ - MDRV_DEVICE_REMOVE(_tag, X2212) + MDRV_DEVICE_REMOVE(_tag) extern void x2212_write( const device_config *device, int offset, int data ); -- cgit v1.2.3-70-g09d2