summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cpc/smartwatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cpc/smartwatch.cpp')
-rw-r--r--src/devices/bus/cpc/smartwatch.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/cpc/smartwatch.cpp b/src/devices/bus/cpc/smartwatch.cpp
index ec839b6a12b..eef1fb4a14a 100644
--- a/src/devices/bus/cpc/smartwatch.cpp
+++ b/src/devices/bus/cpc/smartwatch.cpp
@@ -19,10 +19,11 @@
DEFINE_DEVICE_TYPE(CPC_SMARTWATCH, cpc_smartwatch_device, "cpc_smartwatch", "Dobbertin Smartwatch")
-MACHINE_CONFIG_START(cpc_smartwatch_device::device_add_mconfig)
- MCFG_DS1315_ADD("rtc")
+void cpc_smartwatch_device::device_add_mconfig(machine_config &config)
+{
+ DS1315(config, m_rtc, 0);
// no pass-through (?)
-MACHINE_CONFIG_END
+}
ROM_START( cpc_smartwatch )