Browse Source

Tweak the DirectInput initialization failure message

This closes #36662.
Hugo Locurcio 5 years ago
parent
commit
fe09b4d2b3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      platform/windows/joypad_windows.cpp

+ 2 - 1
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();
 }