summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/gew7.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/gew7.cpp')
-rw-r--r--src/devices/cpu/m6502/gew7.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/cpu/m6502/gew7.cpp b/src/devices/cpu/m6502/gew7.cpp
index d85cf4bff97..7fd85ad2538 100644
--- a/src/devices/cpu/m6502/gew7.cpp
+++ b/src/devices/cpu/m6502/gew7.cpp
@@ -21,7 +21,7 @@ DEFINE_DEVICE_TYPE(GEW7, gew7_device, "gew7", "Yamaha YMW270-F (GEW7)")
gew7_device::gew7_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: m6502_mcu_device_base<m65c02_device>(mconfig, GEW7, tag, owner, clock)
, device_mixer_interface(mconfig, *this, 2)
- , m_in_cb(*this), m_out_cb(*this)
+ , m_in_cb(*this, 0xff), m_out_cb(*this)
, m_rom(*this, DEVICE_SELF)
, m_bank(*this, "bank%u", 0U)
, m_pcm(*this, "pcm")
@@ -45,9 +45,6 @@ void gew7_device::device_start()
{
m6502_mcu_device_base<m65c02_device>::device_start();
- m_in_cb.resolve_all_safe(0xff);
- m_out_cb.resolve_all_safe();
-
m_bank_mask = device_generic_cart_interface::map_non_power_of_two(
unsigned(m_rom->bytes() >> 14),
[this, base = &m_rom->as_u8()] (unsigned entry, unsigned page)