diff options
Diffstat (limited to 'src/devices/machine/spg2xx_io.cpp')
-rw-r--r-- | src/devices/machine/spg2xx_io.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/machine/spg2xx_io.cpp b/src/devices/machine/spg2xx_io.cpp index 796eeed1e9b..69d6c93b471 100644 --- a/src/devices/machine/spg2xx_io.cpp +++ b/src/devices/machine/spg2xx_io.cpp @@ -44,7 +44,7 @@ spg2xx_io_device::spg2xx_io_device(const machine_config &mconfig, device_type ty m_porta_in(*this), m_portb_in(*this), m_portc_in(*this), - m_adc_in{{*this}, {*this}}, + m_adc_in(*this), m_i2c_w(*this), m_i2c_r(*this), m_uart_tx(*this), @@ -80,8 +80,7 @@ void spg2xx_io_device::device_start() m_porta_in.resolve_safe(0); m_portb_in.resolve_safe(0); m_portc_in.resolve_safe(0); - m_adc_in[0].resolve_safe(0x0fff); - m_adc_in[1].resolve_safe(0x0fff); + m_adc_in.resolve_all_safe(0x0fff); m_i2c_w.resolve_safe(); m_i2c_r.resolve_safe(0); m_uart_tx.resolve_safe(); |