From 0ae401849e522e8ef15f6e5b986e1152a6ff0da4 Mon Sep 17 00:00:00 2001 From: AJR Date: Tue, 19 Nov 2019 18:18:34 -0500 Subject: ddz.cpp: Make this driver no more broken than it was before (nw) --- src/mame/drivers/ddz.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/ddz.cpp b/src/mame/drivers/ddz.cpp index f8c173492c6..f19c7ab7904 100644 --- a/src/mame/drivers/ddz.cpp +++ b/src/mame/drivers/ddz.cpp @@ -59,7 +59,6 @@ public: ddz_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_workram(*this, "workram"), - m_ipl(*this, "ipl"), m_encdata(*this, "enc_data"), m_maincpu(*this, "maincpu"), m_vr0soc(*this, "vr0soc") @@ -73,7 +72,6 @@ private: /* memory pointers */ required_shared_ptr m_workram; - required_region_ptr m_ipl; required_region_ptr m_encdata; /* devices */ @@ -160,12 +158,13 @@ ROM_END void ddz_state::init_ddz() { + uint8_t *ipl = reinterpret_cast(memregion("ipl")->base()); for(uint32_t x=0;x