summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sms_ctrl/lphaser.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-11-14 18:39:52 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-11-14 19:05:20 +0100
commit47f03ddabce64099a202864d78cef772c117893b (patch)
tree93bb79a8e97d1374e8eaa5ea5a44abfee22ab888 /src/devices/bus/sms_ctrl/lphaser.cpp
parent61d05aacb8e680d998ffccd9306b859555db5d26 (diff)
fix uninitialized class members for bus devices (nw)
Diffstat (limited to 'src/devices/bus/sms_ctrl/lphaser.cpp')
-rw-r--r--src/devices/bus/sms_ctrl/lphaser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/sms_ctrl/lphaser.cpp b/src/devices/bus/sms_ctrl/lphaser.cpp
index 32998115887..d5b0a6513ae 100644
--- a/src/devices/bus/sms_ctrl/lphaser.cpp
+++ b/src/devices/bus/sms_ctrl/lphaser.cpp
@@ -74,7 +74,7 @@ sms_light_phaser_device::sms_light_phaser_device(const machine_config &mconfig,
device_sms_control_port_interface(mconfig, *this),
m_lphaser_pins(*this, "CTRL_PORT"),
m_lphaser_x(*this, "LPHASER_X"),
- m_lphaser_y(*this, "LPHASER_Y")
+ m_lphaser_y(*this, "LPHASER_Y"), m_sensor_last_state(0), m_lphaser_timer(nullptr)
{
// Workaround for failed validation that occurs when running on a driver
// with Sega Scope emulation, which adds 2 screens (left/right lenses).