summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/midiin.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-11-11 16:31:18 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-11-11 16:31:18 +0100
commitd1dc775f9b686170416fbca6a615fbea108d0ff1 (patch)
tree64c9053aa0ac1c0d9b15a5d628d5a2ca8e296db8 /src/devices/imagedev/midiin.cpp
parent7c7e62455e91e9eae51577cd06c4fd38858a3d50 (diff)
Some cleanups and init fixes with help of ReSharper C++ (nw)
Diffstat (limited to 'src/devices/imagedev/midiin.cpp')
-rw-r--r--src/devices/imagedev/midiin.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/devices/imagedev/midiin.cpp b/src/devices/imagedev/midiin.cpp
index e412409aa38..3f2c22d7c99 100644
--- a/src/devices/imagedev/midiin.cpp
+++ b/src/devices/imagedev/midiin.cpp
@@ -24,9 +24,14 @@ const device_type MIDIIN = &device_creator<midiin_device>;
midiin_device::midiin_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, MIDIIN, "MIDI In image device", tag, owner, clock, "midiin", __FILE__),
- device_image_interface(mconfig, *this),
- device_serial_interface(mconfig, *this),
- m_input_cb(*this)
+ device_image_interface(mconfig, *this),
+ device_serial_interface(mconfig, *this),
+ m_midi(NULL),
+ m_timer(NULL),
+ m_input_cb(*this),
+ m_xmit_read(0),
+ m_xmit_write(0),
+ m_tx_busy(false)
{
}