diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-05-28 11:04:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 11:04:33 +0200 |
commit | 055624d94b2988a137cc21e8136ab2f2c12132b2 (patch) | |
tree | 4325d1a676881fd00c1fdc2d435c9beb3277e9dd /platform/windows | |
parent | 1a53ee66c16c31bc0f64517f29bdf4b411a5a570 (diff) | |
parent | fe09b4d2b39d3ee351f88c604fcdda4b053475ab (diff) |
Merge pull request #39116 from Calinou/tweak-failed-dinput-message
Tweak the DirectInput initialization failure message
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/joypad_windows.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/windows/joypad_windows.cpp b/platform/windows/joypad_windows.cpp index 0cff12ca8c..50f090d2b0 100644 --- a/platform/windows/joypad_windows.cpp +++ b/platform/windows/joypad_windows.cpp @@ -70,7 +70,8 @@ JoypadWindows::JoypadWindows(HWND *hwnd) { HRESULT result; result = DirectInput8Create(GetModuleHandle(nullptr), DIRECTINPUT_VERSION, IID_IDirectInput8, (void **)&dinput, nullptr); if (FAILED(result)) { - printf("failed init DINPUT: %ld\n", result); + printf("Couldn't initialize DirectInput: %ld\n", result); + printf("Rebooting your PC may solve this issue.\n"); } probe_joypads(); } |