diff options
Diffstat (limited to 'src/devices/bus/cpc/smartwatch.cpp')
-rw-r--r-- | src/devices/bus/cpc/smartwatch.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/bus/cpc/smartwatch.cpp b/src/devices/bus/cpc/smartwatch.cpp index 89805cd607b..cef0a846572 100644 --- a/src/devices/bus/cpc/smartwatch.cpp +++ b/src/devices/bus/cpc/smartwatch.cpp @@ -11,13 +11,12 @@ #include "emu.h" #include "smartwatch.h" -SLOT_INTERFACE_EXTERN(cpc_exp_cards); //************************************************************************** // DEVICE DEFINITIONS //************************************************************************** -const device_type CPC_SMARTWATCH = device_creator<cpc_smartwatch_device>; +DEFINE_DEVICE_TYPE(CPC_SMARTWATCH, cpc_smartwatch_device, "cpc_smartwatch", "Dobbertin Smartwatch") static MACHINE_CONFIG_FRAGMENT( cpc_smartwatch ) @@ -45,7 +44,7 @@ const tiny_rom_entry *cpc_smartwatch_device::device_rom_region() const //************************************************************************** cpc_smartwatch_device::cpc_smartwatch_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, CPC_SMARTWATCH, "Dobbertin Smartwatch", tag, owner, clock, "cpc_smartwatch", __FILE__), + device_t(mconfig, CPC_SMARTWATCH, tag, owner, clock), device_cpc_expansion_card_interface(mconfig, *this), m_slot(nullptr), m_rtc(*this,"rtc"), m_bank(nullptr) { |