diff options
Diffstat (limited to 'src/devices/machine/r10696.cpp')
-rw-r--r-- | src/devices/machine/r10696.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/devices/machine/r10696.cpp b/src/devices/machine/r10696.cpp index f3a353b7ec0..1f6dd022aab 100644 --- a/src/devices/machine/r10696.cpp +++ b/src/devices/machine/r10696.cpp @@ -32,12 +32,9 @@ #include "emu.h" #include "machine/r10696.h" -#define VERBOSE 1 -#if VERBOSE -#define LOG(x) logerror x -#else -#define LOG(x) -#endif +//#define VERBOSE 1 +#include "logmacro.h" + /************************************* * @@ -45,12 +42,12 @@ * *************************************/ -const device_type R10696 = device_creator<r10696_device>; +DEFINE_DEVICE_TYPE(R10696, r10696_device, "r10696", "Rockwell 10696 GPIO") r10696_device::r10696_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, R10696, "Rockwell 10696", tag, owner, clock, "r10696", __FILE__), - m_io_a(0), m_io_b(0), m_io_c(0), - m_iord(*this), m_iowr(*this) + : device_t(mconfig, R10696, tag, owner, clock) + , m_io_a(0), m_io_b(0), m_io_c(0) + , m_iord(*this), m_iowr(*this) { } |