diff options
author | 2016-03-11 15:00:29 +0100 | |
---|---|---|
committer | 2016-03-11 15:00:29 +0100 | |
commit | 679574e96589fb62c12c4614bf8a5c96c97c9fdf (patch) | |
tree | 481ec6f8ed0f2196f2a05d183d233bef2eba7b1b /src/osd/modules/input/input_rawinput.cpp | |
parent | e6142ef5581e7ddd9f4c684b7dce6ef154bcba9d (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_rawinput.cpp')
-rw-r--r-- | src/osd/modules/input/input_rawinput.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osd/modules/input/input_rawinput.cpp b/src/osd/modules/input/input_rawinput.cpp index 84d8a96fec3..2bfdf134f34 100644 --- a/src/osd/modules/input/input_rawinput.cpp +++ b/src/osd/modules/input/input_rawinput.cpp @@ -263,7 +263,7 @@ public: rawinput_keyboard_device(running_machine& machine, const char* name, input_module& module) : rawinput_device(machine, name, DEVICE_CLASS_KEYBOARD, module), - keyboard({0}) + keyboard({{0}}) { } @@ -549,8 +549,8 @@ public: } protected: - USHORT usagepage() { return 1; } - USHORT usage() { return 6; } + USHORT usagepage() override { return 1; } + USHORT usage() override { return 6; } void add_rawinput_device(running_machine& machine, RAWINPUTDEVICELIST * device) override { // make sure this is a keyboard @@ -596,8 +596,8 @@ public: } protected: - USHORT usagepage() { return 1; } - USHORT usage() { return 2; } + USHORT usagepage() override { return 1; } + USHORT usage() override { return 2; } void add_rawinput_device(running_machine& machine, RAWINPUTDEVICELIST * device) override { // make sure this is a mouse |