diff options
Diffstat (limited to 'src/devices/cpu/spc700/spc700.cpp')
-rw-r--r-- | src/devices/cpu/spc700/spc700.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/cpu/spc700/spc700.cpp b/src/devices/cpu/spc700/spc700.cpp index 15700512a6e..410be9f41d4 100644 --- a/src/devices/cpu/spc700/spc700.cpp +++ b/src/devices/cpu/spc700/spc700.cpp @@ -62,11 +62,13 @@ Address Function Register R/W When Reset Remarks /* ================================ INCLUDES ============================== */ /* ======================================================================== */ -#include <limits.h> #include "emu.h" -#include "debugger.h" #include "spc700.h" +#include "debugger.h" + +#include <limits.h> + /* ======================================================================== */ /* ==================== ARCHITECTURE-DEPENDANT DEFINES ==================== */ @@ -216,11 +218,11 @@ static inline int MAKE_INT_8(int A) {return (A & 0x80) ? A | ~0xff : A & 0xff;} -const device_type SPC700 = device_creator<spc700_device>; +DEFINE_DEVICE_TYPE(SPC700, spc700_device, "spc700", "SPC700") spc700_device::spc700_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : cpu_device(mconfig, SPC700, "SPC700", tag, owner, clock, "spc700", __FILE__) + : cpu_device(mconfig, SPC700, tag, owner, clock) , m_program_config("program", ENDIANNESS_LITTLE, 8, 16, 0) , m_a(0) , m_x(0) |