diff options
Diffstat (limited to 'src/devices/cpu/i8008/i8008.cpp')
-rw-r--r-- | src/devices/cpu/i8008/i8008.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/cpu/i8008/i8008.cpp b/src/devices/cpu/i8008/i8008.cpp index 18bf62d4f46..f5e6aa4b62e 100644 --- a/src/devices/cpu/i8008/i8008.cpp +++ b/src/devices/cpu/i8008/i8008.cpp @@ -8,8 +8,8 @@ * *****************************************************************************/ #include "emu.h" -#include "debugger.h" #include "i8008.h" +#include "debugger.h" //************************************************************************** // MACROS @@ -24,7 +24,7 @@ //************************************************************************** // device type definition -const device_type I8008 = device_creator<i8008_device>; +DEFINE_DEVICE_TYPE(I8008, i8008_device, "i8008", "Intel 8008") //************************************************************************** // DEVICE INTERFACE @@ -34,11 +34,11 @@ const device_type I8008 = device_creator<i8008_device>; // i8008_device - constructor //------------------------------------------------- i8008_device::i8008_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : cpu_device(mconfig, I8008, "i8008", tag, owner, clock, "i8008", __FILE__), - m_program_config("program", ENDIANNESS_LITTLE, 8, 14), - m_io_config("io", ENDIANNESS_LITTLE, 8, 8), - m_program(nullptr), - m_direct(nullptr) + : cpu_device(mconfig, I8008, tag, owner, clock) + , m_program_config("program", ENDIANNESS_LITTLE, 8, 14) + , m_io_config("io", ENDIANNESS_LITTLE, 8, 8) + , m_program(nullptr) + , m_direct(nullptr) { // set our instruction counter m_icountptr = &m_icount; |