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.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/m6502/gew7.cpp b/src/devices/cpu/m6502/gew7.cpp
index 7fd85ad2538..76e1378d9e8 100644
--- a/src/devices/cpu/m6502/gew7.cpp
+++ b/src/devices/cpu/m6502/gew7.cpp
@@ -19,8 +19,8 @@
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)
+ : m6502_mcu_device_base<w65c02_device>(mconfig, GEW7, tag, owner, clock)
+ , device_mixer_interface(mconfig, *this)
, m_in_cb(*this, 0xff), m_out_cb(*this)
, m_rom(*this, DEVICE_SELF)
, m_bank(*this, "bank%u", 0U)
@@ -37,13 +37,13 @@ void gew7_device::device_add_mconfig(machine_config &config)
{
GEW7_PCM(config, m_pcm, DERIVED_CLOCK(1, 1));
m_pcm->set_device_rom_tag(m_rom);
- m_pcm->add_route(0, *this, 1.0, AUTO_ALLOC_INPUT, 0);
- m_pcm->add_route(1, *this, 1.0, AUTO_ALLOC_INPUT, 1);
+ m_pcm->add_route(0, *this, 1.0, 0);
+ m_pcm->add_route(1, *this, 1.0, 1);
}
void gew7_device::device_start()
{
- m6502_mcu_device_base<m65c02_device>::device_start();
+ m6502_mcu_device_base<w65c02_device>::device_start();
m_bank_mask = device_generic_cart_interface::map_non_power_of_two(
unsigned(m_rom->bytes() >> 14),
@@ -68,7 +68,7 @@ void gew7_device::device_start()
void gew7_device::device_reset()
{
- m6502_mcu_device_base<m65c02_device>::device_reset();
+ m6502_mcu_device_base<w65c02_device>::device_reset();
internal_update();
m_timer_stat = m_timer_en = 0;
@@ -117,7 +117,7 @@ void gew7_device::timer_stat_w(u8 data)
m_timer_stat &= ~data;
if (!(m_timer_stat & 3))
- set_input_line(M65C02_IRQ_LINE, CLEAR_LINE);
+ set_input_line(W65C02_IRQ_LINE, CLEAR_LINE);
internal_update();
}
@@ -165,7 +165,7 @@ u64 gew7_device::timer_update(int num, u64 current_time)
if (elapsed > m_timer_count[num])
{
m_timer_stat |= (1 << num);
- set_input_line(M65C02_IRQ_LINE, ASSERT_LINE);
+ set_input_line(W65C02_IRQ_LINE, ASSERT_LINE);
}
m_timer_count[num] -= elapsed;