mirror of https://github.com/PCSX2/pcsx2.git
onepad: init event struct
Might help to reduce valgrind warning
This commit is contained in:
parent
fa12743c8e
commit
d58c07d697
|
@ -205,8 +205,8 @@ void AnalyzeKeyEvent(keyEvent &evt)
|
||||||
|
|
||||||
void PollForX11KeyboardInput()
|
void PollForX11KeyboardInput()
|
||||||
{
|
{
|
||||||
keyEvent evt;
|
keyEvent evt = {0};
|
||||||
XEvent E;
|
XEvent E = {0};
|
||||||
|
|
||||||
// Keyboard input send by PCSX2
|
// Keyboard input send by PCSX2
|
||||||
while (!ev_fifo.empty()) {
|
while (!ev_fifo.empty()) {
|
||||||
|
|
Loading…
Reference in New Issue