Add missing boolean values

This commit is contained in:
Clownacy 2019-10-21 19:25:34 +01:00
parent dda0dd2fac
commit f6dd58429e

View file

@ -169,7 +169,7 @@ BOOL GetJoystickStatus(JOYSTICK_STATUS *status)
if (res) if (res)
{ {
if (res == DIERR_INPUTLOST) if (res == DIERR_INPUTLOST)
SetDeviceAquire(0); SetDeviceAquire(FALSE);
else else
return FALSE; return FALSE;
} }
@ -214,7 +214,7 @@ BOOL ResetJoystickStatus(void)
if (res) if (res)
{ {
if (res == DIERR_INPUTLOST) if (res == DIERR_INPUTLOST)
SetDeviceAquire(0); SetDeviceAquire(FALSE);
else else
return FALSE; return FALSE;
} }