summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/vino.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/vino.cpp')
-rw-r--r--src/mame/machine/vino.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mame/machine/vino.cpp b/src/mame/machine/vino.cpp
index 0535ed1d567..5f1044b2d39 100644
--- a/src/mame/machine/vino.cpp
+++ b/src/mame/machine/vino.cpp
@@ -2,7 +2,7 @@
// copyright-holders:Ryan Holtz
/*********************************************************************
- vino.c
+ vino.cpp
Silicon Graphics VINO (Video-In, No Out) controller emulation
@@ -23,6 +23,9 @@ DEFINE_DEVICE_TYPE(VINO, vino_device, "vino", "SGI VINO Controller")
vino_device::vino_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, VINO, tag, owner, clock)
+ , m_i2c_data_out(*this)
+ , m_i2c_data_in(*this)
+ , m_i2c_stop(*this)
{
}
@@ -58,6 +61,10 @@ void vino_device::device_start()
save_item(NAME(m_channels[i].m_fifo_gio_ptr), i);
save_item(NAME(m_channels[i].m_fifo_video_ptr), i);
}
+
+ m_i2c_data_out.resolve_safe();
+ m_i2c_data_in.resolve_safe(0x00);
+ m_i2c_stop.resolve_safe();
}
void vino_device::device_reset()