MT 07297 (nw)

This commit is contained in:
AJR 2019-04-24 18:49:41 -04:00
parent d2ebfc2d7f
commit a661adff1f
2 changed files with 3 additions and 3 deletions

View File

@ -2855,9 +2855,9 @@ READ8_MEMBER(namcos22s_state::mcu_port6_r)
}
template <int Channel>
u16 namcos22s_state::mcu_adc_r(offs_t offset)
u16 namcos22s_state::mcu_adc_r()
{
return m_adc_ports[offset].read_safe(0);
return m_adc_ports[Channel].read_safe(0);
}
void namcos22s_state::mcu_program(address_map &map)

View File

@ -571,7 +571,7 @@ private:
DECLARE_READ8_MEMBER(mcu_port5_r);
DECLARE_WRITE8_MEMBER(mcu_port6_w);
DECLARE_READ8_MEMBER(mcu_port6_r);
template <int Channel> u16 mcu_adc_r(offs_t offset);
template <int Channel> u16 mcu_adc_r();
DECLARE_WRITE8_MEMBER(alpine_mcu_port4_w);
DECLARE_READ16_MEMBER(mcu130_speedup_r);
DECLARE_READ16_MEMBER(mcu141_speedup_r);