summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/n2a03.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/n2a03.cpp')
-rw-r--r--src/devices/cpu/m6502/n2a03.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/n2a03.cpp b/src/devices/cpu/m6502/n2a03.cpp
index 1a05dbbd73b..6bfbc2edc98 100644
--- a/src/devices/cpu/m6502/n2a03.cpp
+++ b/src/devices/cpu/m6502/n2a03.cpp
@@ -53,6 +53,7 @@ void n2a03_device::n2a03_map(address_map &map)
n2a03_device::n2a03_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: m6502_device(mconfig, N2A03, tag, owner, clock)
+ , device_mixer_interface(mconfig, *this, 1)
, m_apu(*this, "nesapu")
{
program_config.m_internal_map = address_map_constructor(FUNC(n2a03_device::n2a03_map), this);
@@ -79,7 +80,7 @@ void n2a03_device::device_add_mconfig(machine_config &config)
NES_APU(config, m_apu, DERIVED_CLOCK(1,1));
m_apu->irq().set(FUNC(n2a03_device::apu_irq));
m_apu->mem_read().set(FUNC(n2a03_device::apu_read_mem));
- m_apu->add_route(ALL_OUTPUTS, ":mono", 0.50);
+ m_apu->add_route(ALL_OUTPUTS, *this, 1.0, AUTO_ALLOC_INPUT, 0);
}