mirror of https://github.com/PCSX2/pcsx2.git
padnull: Zero the whole event structure
It fixes an infinite loop when a key is pressed.
This commit is contained in:
parent
8a26a6e34c
commit
6a0f185335
|
@ -151,6 +151,7 @@ EXPORT_C_(keyEvent*) PADkeyEvent()
|
|||
|
||||
s_event = event;
|
||||
event.evt = 0;
|
||||
event.key = 0;
|
||||
|
||||
return &s_event;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue