mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 18:47:09 +00:00
Let's not miss these input notifications if many arrive at once.
This commit is contained in:
parent
340fdfb342
commit
7bd444f1fa
@ -554,9 +554,9 @@ bool dinput_handle_message(void *dinput, UINT message, WPARAM wParam, LPARAM lPa
|
||||
case WM_MOUSEWHEEL:
|
||||
{
|
||||
if (((short) HIWORD(wParam))/120 > 0)
|
||||
di->mouse_wu = 1;
|
||||
di->mouse_wu += 1;
|
||||
if (((short) HIWORD(wParam))/120 < 0)
|
||||
di->mouse_wd = 1;
|
||||
di->mouse_wd += 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user