summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_win32.cpp
diff options
context:
space:
mode:
author Brad Hughes <bradhugh@outlook.com>2016-03-18 00:13:45 -0400
committer Brad Hughes <bradhugh@outlook.com>2016-03-18 00:13:45 -0400
commit4e214fd08df1a0f633eb057b393c0f72be1d7754 (patch)
treeb5442a4963de0fdcdb934204259884c7204eaa47 /src/osd/modules/input/input_win32.cpp
parentba499f3860cecb5a272ccc7ffbd5d75000a5ffb6 (diff)
Rewrote overly complex rawinput_device_improve_name function for rawinput module, plus fixing some other defects in input modules as detected by coverity.
Diffstat (limited to 'src/osd/modules/input/input_win32.cpp')
-rw-r--r--src/osd/modules/input/input_win32.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/modules/input/input_win32.cpp b/src/osd/modules/input/input_win32.cpp
index 0fb86095112..6256210ae7c 100644
--- a/src/osd/modules/input/input_win32.cpp
+++ b/src/osd/modules/input/input_win32.cpp
@@ -253,7 +253,8 @@ public:
win32_lightgun_device(running_machine& machine, const char *name, input_module &module)
: event_based_device(machine, name, DEVICE_CLASS_LIGHTGUN, module),
m_lightgun_shared_axis_mode(FALSE),
- m_gun_index(0)
+ m_gun_index(0),
+ mouse({0})
{
m_lightgun_shared_axis_mode = downcast<windows_options &>(machine.options()).dual_lightgun();