diff options
Diffstat (limited to 'src/devices/machine/spg2xx.cpp')
-rw-r--r-- | src/devices/machine/spg2xx.cpp | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/src/devices/machine/spg2xx.cpp b/src/devices/machine/spg2xx.cpp index 2edac0a8dcf..09e0e0c6f39 100644 --- a/src/devices/machine/spg2xx.cpp +++ b/src/devices/machine/spg2xx.cpp @@ -30,14 +30,14 @@ spg2xx_device::spg2xx_device(const machine_config &mconfig, device_type type, co m_porta_out(*this), m_portb_out(*this), m_portc_out(*this), - m_porta_in(*this), - m_portb_in(*this), - m_portc_in(*this), - m_adc_in(*this), - m_guny_in(*this), - m_gunx_in(*this), + m_porta_in(*this, 0), + m_portb_in(*this, 0), + m_portc_in(*this, 0), + m_adc_in(*this, 0x0fff), + m_guny_in(*this, 0), + m_gunx_in(*this, 0), m_i2c_w(*this), - m_i2c_r(*this), + m_i2c_r(*this, 0), m_uart_tx(*this), m_spi_tx(*this), m_chip_sel(*this), @@ -86,21 +86,6 @@ void spg2xx_device::device_start() { unsp_device::device_start(); - m_porta_out.resolve_safe(); - m_portb_out.resolve_safe(); - m_portc_out.resolve_safe(); - m_porta_in.resolve_safe(0); - m_portb_in.resolve_safe(0); - m_portc_in.resolve_safe(0); - m_adc_in.resolve_all_safe(0x0fff); - m_guny_in.resolve_safe(0); - m_gunx_in.resolve_safe(0); - m_i2c_w.resolve_safe(); - m_i2c_r.resolve_safe(0); - m_uart_tx.resolve_safe(); - m_spi_tx.resolve_safe(); - m_chip_sel.resolve_safe(); - save_item(NAME(m_sprite_limit)); save_item(NAME(m_pal_flag)); save_item(NAME(m_fiq_vector)); |