summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/timer.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-04-23 16:33:28 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-04-23 16:33:28 +0000
commit7b90e0165903bfd7231c9c39de83def12b1cc793 (patch)
treec8611959e09640db1c7bf42fa4a7448da7a30937 /src/emu/timer.c
parentc8f329e654111e3fd85ac700ab7bd1537556a301 (diff)
Deprecated device_set_info. Almost all devices had a NULL or empty
function here. Remaining devices have been converted to have device-specific functions to do the same thing with proper type checking. CPUs still have a set_info function but it is CPU-specific now and no longer piggybacks on the general device function.
Diffstat (limited to 'src/emu/timer.c')
-rw-r--r--src/emu/timer.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/emu/timer.c b/src/emu/timer.c
index 0c5ddcb951b..f2422276a3a 100644
--- a/src/emu/timer.c
+++ b/src/emu/timer.c
@@ -1273,19 +1273,6 @@ static DEVICE_START( timer )
/*-------------------------------------------------
- timer_set_info - device set info callback
--------------------------------------------------*/
-
-static DEVICE_SET_INFO( timer )
-{
- switch (state)
- {
- /* no parameters to set */
- }
-}
-
-
-/*-------------------------------------------------
timer_get_info - device get info callback
-------------------------------------------------*/
@@ -1299,7 +1286,6 @@ DEVICE_GET_INFO( timer )
case DEVINFO_INT_CLASS: info->i = DEVICE_CLASS_TIMER; break;
/* --- the following bits of info are returned as pointers to data or functions --- */
- case DEVINFO_FCT_SET_INFO: info->set_info = DEVICE_SET_INFO_NAME(timer); break;
case DEVINFO_FCT_START: info->start = DEVICE_START_NAME(timer); break;
case DEVINFO_FCT_STOP: /* Nothing */ break;
case DEVINFO_FCT_RESET: /* Nothing */ break;