summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-03-03 14:03:45 +0100
committer Olivier Galibert <galibert@pobox.com>2017-03-03 14:03:45 +0100
commit446108bfe9fd10abe5484b77d70229a4c89cb670 (patch)
tree080e1e67e89b2979b4cf0d5f30efe0a149be98b3 /src/mame/machine
parent47e19d6eff8cc1c1301e16687a15d3ee90c4b074 (diff)
fd1089, fd1094: Device cleanup [O. Galibert]
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/fd1089.cpp2
-rw-r--r--src/mame/machine/fd1094.cpp2
2 files changed, 2 insertions, 2 deletions
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)