diff options
Diffstat (limited to 'src/devices/bus/nes/event.cpp')
-rw-r--r-- | src/devices/bus/nes/event.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/bus/nes/event.cpp b/src/devices/bus/nes/event.cpp index 2440926cd1a..3f6065f449d 100644 --- a/src/devices/bus/nes/event.cpp +++ b/src/devices/bus/nes/event.cpp @@ -32,18 +32,18 @@ // constructor //------------------------------------------------- -const device_type NES_EVENT = device_creator<nes_event_device>; +DEFINE_DEVICE_TYPE(NES_EVENT, nes_event_device, "nes_event", "NES Cart Event PCB") nes_event_device::nes_event_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : nes_sxrom_device(mconfig, NES_EVENT, "NES Cart Event PCB", tag, owner, clock, "nes_event", __FILE__), - m_dsw(*this, "DIPSW"), - m_nwc_init(0), - event_timer(nullptr), - m_timer_count(0), - m_timer_on(0), - m_timer_enabled(0) - { + : nes_sxrom_device(mconfig, NES_EVENT, tag, owner, clock) + , m_dsw(*this, "DIPSW") + , m_nwc_init(0) + , event_timer(nullptr) + , m_timer_count(0) + , m_timer_on(0) + , m_timer_enabled(0) +{ } |