summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sc61860/sc61860.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sc61860/sc61860.cpp')
-rw-r--r--src/devices/cpu/sc61860/sc61860.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/devices/cpu/sc61860/sc61860.cpp b/src/devices/cpu/sc61860/sc61860.cpp
index 3d095eba8e0..4c10bdb288c 100644
--- a/src/devices/cpu/sc61860/sc61860.cpp
+++ b/src/devices/cpu/sc61860/sc61860.cpp
@@ -18,10 +18,10 @@
*****************************************************************************/
#include "emu.h"
-#include "debugger.h"
-
#include "sc61860.h"
+#include "debugger.h"
+
#define I 0
#define J 1
@@ -41,16 +41,15 @@
#define C 95
-#define VERBOSE 0
-
-#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
+//#define VERBOSE 1
+#include "logmacro.h"
-const device_type SC61860 = device_creator<sc61860_device>;
+DEFINE_DEVICE_TYPE(SC61860, sc61860_device, "sc61860", "SC61860")
sc61860_device::sc61860_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
- : cpu_device(mconfig, SC61860, "SC61860", tag, owner, clock, "sc61860", __FILE__)
+ : cpu_device(mconfig, SC61860, tag, owner, clock)
, m_program_config("program", ENDIANNESS_BIG, 8, 16, 0)
, m_reset(*this)
, m_brk(*this)