ggpo: zero-init unused but sent inputs
avoids lots of useless rollbacks
This commit is contained in:
parent
64223927b8
commit
034f90c1e0
|
@ -697,6 +697,8 @@ bool nextFrame()
|
|||
inputs.kcode |= BTN_TRIGGER_LEFT;
|
||||
else
|
||||
inputs.kcode &= ~BTN_TRIGGER_LEFT;
|
||||
inputs.mouseButtons = 0;
|
||||
inputs.kbModifiers = 0;
|
||||
if (analogAxes > 0)
|
||||
{
|
||||
inputs.u.analog.x = joyx[0];
|
||||
|
|
Loading…
Reference in New Issue