summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6510.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m6510.cpp')
-rw-r--r--src/devices/cpu/m6502/m6510.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/devices/cpu/m6502/m6510.cpp b/src/devices/cpu/m6502/m6510.cpp
index e1aa0937f76..e4b4585eaaa 100644
--- a/src/devices/cpu/m6502/m6510.cpp
+++ b/src/devices/cpu/m6502/m6510.cpp
@@ -11,19 +11,15 @@
#include "emu.h"
#include "m6510.h"
-const device_type M6510 = device_creator<m6510_device>;
+DEFINE_DEVICE_TYPE(M6510, m6510_device, "m6510", "M6510")
m6510_device::m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- m6502_device(mconfig, M6510, "M6510", tag, owner, clock, "m6510", __FILE__),
- read_port(*this),
- write_port(*this), dir(0), port(0), drive(0)
+ m6510_device(mconfig, M6510, tag, owner, clock)
{
- pullup = 0x00;
- floating = 0x00;
}
-m6510_device::m6510_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) :
- m6502_device(mconfig, type, name, tag, owner, clock, shortname, source),
+m6510_device::m6510_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+ m6502_device(mconfig, type, tag, owner, clock),
read_port(*this),
write_port(*this), dir(0), port(0), drive(0)
{