diff options
author | 2016-05-26 00:26:07 +1000 | |
---|---|---|
committer | 2016-05-26 00:26:07 +1000 | |
commit | 7e3fce4ba9ebd4e4dc6b53027e70653c656c643b (patch) | |
tree | 2add66db88bac7b2186e6fc89f843727f1b9907a /docs/release/src/osd/winui/directinput.cpp | |
parent | 4772a2556d0f35de45d601bd604595279f250236 (diff) |
0.174 Release Fileshbmame174
Diffstat (limited to 'docs/release/src/osd/winui/directinput.cpp')
-rw-r--r-- | docs/release/src/osd/winui/directinput.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/release/src/osd/winui/directinput.cpp b/docs/release/src/osd/winui/directinput.cpp index c88d46aac1b..fca5ff8cac7 100644 --- a/docs/release/src/osd/winui/directinput.cpp +++ b/docs/release/src/osd/winui/directinput.cpp @@ -1,4 +1,5 @@ // For licensing and usage information, read docs/winui_license.txt +// MASTER //**************************************************************************** /*************************************************************************** @@ -81,11 +82,11 @@ BOOL DirectInputInitialize() if (dic == NULL) return FALSE; - hr = dic(GetModuleHandle(NULL), DIRECTINPUT_VERSION, &di, NULL); + hr = dic(GetModuleHandle(NULL), 0x0700, &di, NULL); // setup DIRECT INPUT 7 for the GUI if (FAILED(hr)) { - hr = dic(GetModuleHandle(NULL), 0x0300, &di, NULL); + hr = dic(GetModuleHandle(NULL), 0x0500, &di, NULL); // if failed, try with version 5 if (FAILED(hr)) { |