summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp1/pdp1.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-04-14 21:20:49 -0400
committer AJR <ajrhacker@users.noreply.github.com>2016-04-14 21:20:49 -0400
commit34be7d416603f0601877f208e6250dae416a92b2 (patch)
tree5e15f2cc717eaff6dbb28c9b94c6377c88d5c566 /src/devices/cpu/pdp1/pdp1.cpp
parentb5486236918e8565b27e79a99d7c3112f6cff00e (diff)
Eliminate device_t::static_config, a type-unsafe legacy feature.
Rewrite or remove every last instance of MCFG_DEVICE_CONFIG and its two aliases, including within comments and dead code. Make the Z80/Z180 daisy chain an interface that interfaces with the existing interface. Z8000 has been hooked up to this as well (p8000_16 already configures it), but currently does nothing with it.
Diffstat (limited to 'src/devices/cpu/pdp1/pdp1.cpp')
-rw-r--r--src/devices/cpu/pdp1/pdp1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/pdp1/pdp1.cpp b/src/devices/cpu/pdp1/pdp1.cpp
index 0a2cf9e1061..dad758a1d9d 100644
--- a/src/devices/cpu/pdp1/pdp1.cpp
+++ b/src/devices/cpu/pdp1/pdp1.cpp
@@ -391,7 +391,7 @@ pdp1_device::pdp1_device(const machine_config &mconfig, const char *tag, device_
void pdp1_device::device_config_complete()
{
// inherit a copy of the static data
- const pdp1_reset_param_t *intf = reinterpret_cast<const pdp1_reset_param_t *>(static_config());
+ const pdp1_reset_param_t *intf = m_reset_param;
if (intf != nullptr)
*static_cast<pdp1_reset_param_t *>(this) = *intf;