diff options
author | Aaron Giles <aaron@aarongiles.com> | 2010-06-25 15:30:51 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2010-06-25 15:30:51 +0000 |
commit | 50767de7072d0a751840cd794af21da52e02c487 (patch) | |
tree | 9eb3b45540d5320390785db869fe6cdbea42492a /src/emu/timer.c | |
parent | 25c55116100e1e3bd99e992ef81fb7ecdb05575a (diff) |
Changed device name from an overridable function to a parameter passed to
the device_config constructor. In situations where the proper name is not
known at construction time, a generic name can be specified and then
overridden later once the configuration is complete.
Diffstat (limited to 'src/emu/timer.c')
-rw-r--r-- | src/emu/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/timer.c b/src/emu/timer.c index f10259d46cf..09b07d1b958 100644 --- a/src/emu/timer.c +++ b/src/emu/timer.c @@ -939,7 +939,7 @@ void timer_print_first_timer(running_machine *machine) //------------------------------------------------- timer_device_config::timer_device_config(const machine_config &mconfig, const char *tag, const device_config *owner, UINT32 clock) - : device_config(mconfig, static_alloc_device_config, tag, owner, clock), + : device_config(mconfig, static_alloc_device_config, "Timer", tag, owner, clock), m_type(TIMER_TYPE_GENERIC), m_callback(NULL), m_ptr(NULL), |