diff options
Diffstat (limited to 'src/devices/machine/i82355.cpp')
-rw-r--r-- | src/devices/machine/i82355.cpp | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/src/devices/machine/i82355.cpp b/src/devices/machine/i82355.cpp index 18741710489..b2c5d35abaf 100644 --- a/src/devices/machine/i82355.cpp +++ b/src/devices/machine/i82355.cpp @@ -36,7 +36,7 @@ i82355_device::i82355_device(const machine_config &mconfig, const char *tag, dev , m_lint_callback(*this) , m_local_index(0x00) , m_local_status(0x00) - , m_id{0} + , m_id{{0}} , m_global_config(0x00) // TBD: revision code in upper 4 bits , m_system_interrupt(0x00) , m_semaphore_flag{false, false} @@ -46,19 +46,19 @@ i82355_device::i82355_device(const machine_config &mconfig, const char *tag, dev , m_local_doorbell_enable(0x00) , m_eisa_doorbell_status(0x00) , m_eisa_doorbell_enable(0x00) - , m_peek_poke_data{0} - , m_peek_poke_address{0} + , m_peek_poke_data{{0}} + , m_peek_poke_address{{0}} , m_peek_poke_status(0x00) , m_io_decode_base{0x00, 0x00} , m_io_decode_control{0x00, 0x00} , m_transfer_config{0x00, 0x00} , m_transfer_status{0x00, 0x00} - , m_base_count{{0}, {0}} - , m_base_address{{0}, {0}} - , m_current_count{{0}, {0}} - , m_current_address{{0}, {0}} - , m_tbi_base{{0}, {0}} - , m_tbi_current{{0}, {0}} + , m_base_count{ {{0}}, {{0}} } + , m_base_address{ {{0}}, {{0}} } + , m_current_count{ {{0}}, {{0}} } + , m_current_address{ {{0}}, {{0}} } + , m_tbi_base{ {{0}}, {{0}} } + , m_tbi_current{ {{0}}, {{0}} } { // TODO: 24-byte FIFO for each data transfer channel std::fill(std::begin(m_mailbox), std::end(m_mailbox), 0x00); @@ -66,19 +66,6 @@ i82355_device::i82355_device(const machine_config &mconfig, const char *tag, dev //------------------------------------------------- -// device_resolve_objects - resolve objects that -// may be needed for other devices to set -// initial conditions at start time -//------------------------------------------------- - -void i82355_device::device_resolve_objects() -{ - m_eint_callback.resolve_safe(); - m_lint_callback.resolve_safe(); -} - - -//------------------------------------------------- // device_start - device-specific startup //------------------------------------------------- |