1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix compilation warning in Keys.cpp

This commit is contained in:
Sergey Lipskiy 2015-06-01 14:38:25 +06:00
parent 37b5a38486
commit e1000add03

View File

@ -117,7 +117,7 @@ bool isKeyPressed(int _key, int _mask)
{
static Glide64Keys g64Keys;
#ifdef OS_WINDOWS
return (GetAsyncKeyState(g64Keys[_key]) & _mask);
return (GetAsyncKeyState(g64Keys[_key]) & _mask) != 0;
#else
// TODO
#endif