diff options
Diffstat (limited to 'src/devices/machine/ds1205.cpp')
-rw-r--r-- | src/devices/machine/ds1205.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/machine/ds1205.cpp b/src/devices/machine/ds1205.cpp index 400046c3406..3dca4c8de2f 100644 --- a/src/devices/machine/ds1205.cpp +++ b/src/devices/machine/ds1205.cpp @@ -7,10 +7,12 @@ * */ -#include <stdio.h> #include "emu.h" #include "ds1205.h" +#include <stdio.h> + + #define VERBOSE_LEVEL ( 0 ) inline void ATTR_PRINTF( 3, 4 ) ds1205_device::verboselog( int n_level, const char *s_fmt, ... ) @@ -27,10 +29,10 @@ inline void ATTR_PRINTF( 3, 4 ) ds1205_device::verboselog( int n_level, const ch } // device type definition -const device_type DS1205 = device_creator<ds1205_device>; +DEFINE_DEVICE_TYPE(DS1205, ds1205_device, "ds1205", "DS1205") ds1205_device::ds1205_device( const machine_config &mconfig, const char *tag, device_t *owner, u32 clock ) - : device_t( mconfig, DS1205, "DS1205", tag, owner, clock, "ds1205", __FILE__ ), + : device_t(mconfig, DS1205, tag, owner, clock), device_nvram_interface(mconfig, *this), m_region(*this, DEVICE_SELF), m_rst( 0 ), |