diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-05-28 12:39:12 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-05-28 12:39:12 -0400 |
commit | b7422d2618a218bda28d76f15278ef8ec241b8b4 (patch) | |
tree | cb097f54c45bbc0fcedb0e554f0f7c4d96de372b | |
parent | 3f5b0d66ae002a5728ed8b028ffc19915f08e836 (diff) |
Fix some but not all validation errors from 2fedd39d2baffe6adb881a2fda9067299f117bf8 (nw)
-rw-r--r-- | src/mame/audio/galaxian.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/cclimber.cpp | 5 | ||||
-rw-r--r-- | src/mame/includes/cclimber.h | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/mame/audio/galaxian.cpp b/src/mame/audio/galaxian.cpp index 930a93c6f08..06a3ad300ec 100644 --- a/src/mame/audio/galaxian.cpp +++ b/src/mame/audio/galaxian.cpp @@ -393,7 +393,7 @@ galaxian_sound_device::galaxian_sound_device(const machine_config &mconfig, cons : device_t(mconfig, GALAXIAN, tag, owner, clock) , device_sound_interface(mconfig, *this) , m_lfo_val(0) - , m_discrete(*this, GAL_AUDIO) + , m_discrete(*this, "^" GAL_AUDIO) { } diff --git a/src/mame/drivers/cclimber.cpp b/src/mame/drivers/cclimber.cpp index f68ebbeb86f..67b1d98c97d 100644 --- a/src/mame/drivers/cclimber.cpp +++ b/src/mame/drivers/cclimber.cpp @@ -2668,8 +2668,9 @@ void cclimber_state::init_toprollr() { m_opcodes = std::make_unique<uint8_t[]>(0x6000*3); - m_encrypted_cpu->set_region_p(memregion("user1")->base()); - m_encrypted_cpu->set_decrypted_p(m_opcodes.get()); + segacrpt_z80_device &cpu = downcast<segacrpt_z80_device &>(*m_maincpu); + cpu.set_region_p(memregion("user1")->base()); + cpu.set_decrypted_p(m_opcodes.get()); membank("bank1")->configure_entries(0, 3, memregion("user1")->base(), 0x6000); membank("bank1d")->configure_entries(0, 3, m_opcodes.get(), 0x6000); diff --git a/src/mame/includes/cclimber.h b/src/mame/includes/cclimber.h index 35f5a5d050d..775273a2974 100644 --- a/src/mame/includes/cclimber.h +++ b/src/mame/includes/cclimber.h @@ -12,7 +12,6 @@ public: : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), - m_encrypted_cpu(*this, "maincpu"), m_gfxdecode(*this, "gfxdecode"), m_palette(*this, "palette"), m_mainlatch(*this, "mainlatch"), @@ -31,7 +30,6 @@ public: required_device<cpu_device> m_maincpu; optional_device<cpu_device> m_audiocpu; - optional_device<segacrpt_z80_device> m_encrypted_cpu; required_device<gfxdecode_device> m_gfxdecode; required_device<palette_device> m_palette; required_device<ls259_device> m_mainlatch; |