s/input: fix freeze on wine for F2-3-4 keys

This commit is contained in:
rr- 2021-11-30 02:34:42 +01:00
parent da6779a716
commit 1dac41680b
No known key found for this signature in database
GPG key ID: CC65E6FD28CAE42A

View file

@ -196,6 +196,7 @@ static void S_Input_DInput_KeyboardRead()
break;
}
}
S_Shell_SpinMessageLoop();
}
static bool S_Input_KbdKey(INPUT_KEY key, INPUT_LAYOUT layout)
@ -411,7 +412,6 @@ static HRESULT DInputJoystickPoll(DIJOYSTATE2 *joystate)
INPUT_STATE S_Input_GetCurrentState()
{
S_Input_DInput_KeyboardRead();
S_Shell_SpinMessageLoop();
INPUT_STATE linput = { 0 };