diff --git a/src/devices/cpu/m68000/m68000.h b/src/devices/cpu/m68000/m68000.h index c7b803fefdf..93b39448f6c 100644 --- a/src/devices/cpu/m68000/m68000.h +++ b/src/devices/cpu/m68000/m68000.h @@ -404,6 +404,7 @@ public: // construction/destruction m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); + m68000_device(const machine_config &mconfig, const device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source); m68000_device(const machine_config &mconfig, const char *name, const char *tag, device_t *owner, uint32_t clock, const device_type type, uint32_t prg_data_width, uint32_t prg_address_bits, address_map_constructor internal_map, const char *shortname, const char *source); diff --git a/src/devices/cpu/m68000/m68kcpu.cpp b/src/devices/cpu/m68000/m68kcpu.cpp index 44c21eb8818..df2de9e6870 100644 --- a/src/devices/cpu/m68000/m68kcpu.cpp +++ b/src/devices/cpu/m68000/m68kcpu.cpp @@ -2524,6 +2524,11 @@ m68000_device::m68000_device(const machine_config &mconfig, const char *tag, dev { } +m68000_device::m68000_device(const machine_config &mconfig, const device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) + : m68000_base_device(mconfig, name, tag, owner, clock, type, 16,24, shortname, source) +{ +} + void m68000_device::device_start() { init_cpu_m68000(); diff --git a/src/mame/machine/fd1089.cpp b/src/mame/machine/fd1089.cpp index 1d6a13c1940..03d4a17c476 100644 --- a/src/mame/machine/fd1089.cpp +++ b/src/mame/machine/fd1089.cpp @@ -222,7 +222,7 @@ ADDRESS_MAP_END //------------------------------------------------- fd1089_base_device::fd1089_base_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) - : m68000_device(mconfig, tag, owner, clock, shortname, source), + : m68000_device(mconfig, type, name, tag, owner, clock, shortname, source), m_region(*this, DEVICE_SELF), m_key(*this, "key"), m_decrypted_opcodes(*this, ":fd1089_decrypted_opcodes") diff --git a/src/mame/machine/fd1094.cpp b/src/mame/machine/fd1094.cpp index 2c81115e82f..a9af8ba32ea 100644 --- a/src/mame/machine/fd1094.cpp +++ b/src/mame/machine/fd1094.cpp @@ -553,7 +553,7 @@ uint16_t *fd1094_decryption_cache::decrypted_opcodes(uint8_t state) fd1094_device::fd1094_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : m68000_device(mconfig, tag, owner, clock, "fd1094", __FILE__) + : m68000_device(mconfig, FD1094, "FD1094", tag, owner, clock, "fd1094", __FILE__) , m_decrypted_opcodes_bank(*this, "^fd1094_decrypted_opcodes") , m_state(0x00) , m_irqmode(false)