diff options
Diffstat (limited to 'src/devices/machine/spg2xx.cpp')
-rw-r--r-- | src/devices/machine/spg2xx.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/machine/spg2xx.cpp b/src/devices/machine/spg2xx.cpp index 5acaa464456..804cafe4f76 100644 --- a/src/devices/machine/spg2xx.cpp +++ b/src/devices/machine/spg2xx.cpp @@ -34,8 +34,8 @@ spg2xx_device::spg2xx_device(const machine_config &mconfig, device_type type, co , m_portb_in(*this) , m_portc_in(*this) , m_adc_in{{*this}, {*this}} - , m_eeprom_w(*this) - , m_eeprom_r(*this) + , m_i2c_w(*this) + , m_i2c_r(*this) , m_uart_tx(*this) , m_chip_sel(*this) , m_screen(*this, finder_base::DUMMY_TAG) @@ -79,8 +79,8 @@ void spg2xx_device::device_start() m_portc_in.resolve_safe(0); m_adc_in[0].resolve_safe(0x0fff); m_adc_in[1].resolve_safe(0x0fff); - m_eeprom_w.resolve_safe(); - m_eeprom_r.resolve_safe(0); + m_i2c_w.resolve_safe(); + m_i2c_r.resolve_safe(0); m_uart_tx.resolve_safe(); m_chip_sel.resolve_safe(); @@ -146,8 +146,8 @@ void spg2xx_device::configure_spg_io(spg2xx_io_device* io) io->portc_out().set(FUNC(spg2xx_device::portc_w)); io->adc_in<0>().set(FUNC(spg2xx_device::adc_r<0>)); io->adc_in<1>().set(FUNC(spg2xx_device::adc_r<1>)); - io->eeprom_w().set(FUNC(spg2xx_device::eepromx_w)); - io->eeprom_r().set(FUNC(spg2xx_device::eepromx_r)); + io->i2c_w().set(FUNC(spg2xx_device::eepromx_w)); + io->i2c_r().set(FUNC(spg2xx_device::eepromx_r)); io->uart_tx().set(FUNC(spg2xx_device::tx_w)); io->chip_select().set(FUNC(spg2xx_device::cs_w)); io->pal_read_callback().set(FUNC(spg2xx_device::get_pal_ntsc)); |