Add missing boolean values
This commit is contained in:
parent
dda0dd2fac
commit
f6dd58429e
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ BOOL GetJoystickStatus(JOYSTICK_STATUS *status)
|
|||
if (res)
|
||||
{
|
||||
if (res == DIERR_INPUTLOST)
|
||||
SetDeviceAquire(0);
|
||||
SetDeviceAquire(FALSE);
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -214,7 +214,7 @@ BOOL ResetJoystickStatus(void)
|
|||
if (res)
|
||||
{
|
||||
if (res == DIERR_INPUTLOST)
|
||||
SetDeviceAquire(0);
|
||||
SetDeviceAquire(FALSE);
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue