mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
MT 07297 (nw)
This commit is contained in:
parent
d2ebfc2d7f
commit
a661adff1f
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user