summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/input/input_xinput.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-11 15:00:29 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-11 15:00:29 +0100
commit679574e96589fb62c12c4614bf8a5c96c97c9fdf (patch)
tree481ec6f8ed0f2196f2a05d183d233bef2eba7b1b /src/osd/modules/input/input_xinput.cpp
parente6142ef5581e7ddd9f4c684b7dce6ef154bcba9d (diff)
With latest package from MSYS of clang 3.8.0 build at least compile fine on windows (nw)
Strange crashing while executing
Diffstat (limited to 'src/osd/modules/input/input_xinput.cpp')
-rw-r--r--src/osd/modules/input/input_xinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/input/input_xinput.cpp b/src/osd/modules/input/input_xinput.cpp
index a531bbdfefb..b88dbe24c1a 100644
--- a/src/osd/modules/input/input_xinput.cpp
+++ b/src/osd/modules/input/input_xinput.cpp
@@ -187,7 +187,7 @@ private:
public:
xinput_joystick_device(running_machine &machine, const char *name, input_module &module)
: device_info(machine, name, DEVICE_CLASS_JOYSTICK, module),
- gamepad({0}),
+ gamepad({{0}}),
xinput_state({0}),
xinput_api(nullptr)
{