summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-05-28 09:45:17 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-05-28 09:45:17 +0200
commitfe09b4d2b39d3ee351f88c604fcdda4b053475ab (patch)
tree4325d1a676881fd00c1fdc2d435c9beb3277e9dd /platform/windows
parent1a53ee66c16c31bc0f64517f29bdf4b411a5a570 (diff)
Tweak the DirectInput initialization failure message
This closes #36662.
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/joypad_windows.cpp3
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();
}