Fixes Issue 1910

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4886 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
ayuanx 2010-01-19 09:54:21 +00:00
commit f60c3e8445
2 changed files with 6 additions and 6 deletions

View file

@ -329,7 +329,11 @@ bool IsKey(int Key)
if ((Key == EWM_SHAKE && GetAsyncKeyState(VK_MBUTTON))
|| (Key == EWM_A && GetAsyncKeyState(VK_LBUTTON))
|| (Key == EWM_B && GetAsyncKeyState(VK_RBUTTON)))
Ret = 1;
{
float x, y;
GetMousePos(x, y);
Ret = !(x < 0 || x > 1 || y < 0 || y > 1);
}
#endif
}