diff options
Diffstat (limited to 'src/mame/etc/template_device.cpp')
-rw-r--r-- | src/mame/etc/template_device.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/etc/template_device.cpp b/src/mame/etc/template_device.cpp index 358938a5ee0..f29b85215eb 100644 --- a/src/mame/etc/template_device.cpp +++ b/src/mame/etc/template_device.cpp @@ -2,7 +2,7 @@ // copyright-holders:<author_name> /*************************************************************************** -Template for skeleton device +Template for squeleton device ***************************************************************************/ @@ -16,7 +16,7 @@ Template for skeleton device //************************************************************************** // device type definition -const device_type XXX = &device_creator<xxx_device>; +DEFINE_DEVICE_TYPE(XXX, xxx_device, "xxx", "XXX Device") //************************************************************************** @@ -28,7 +28,7 @@ const device_type XXX = &device_creator<xxx_device>; //------------------------------------------------- xxx_device::xxx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, XXX, "xxx_longname", tag, owner, clock, "xxx", __FILE__) + : device_t(mconfig, XXX, tag, owner, clock) { } |