mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-14 11:46:26 +00:00
Zero the direction array before batching
This commit is contained in:
@@ -148,6 +148,8 @@ static void inputSendThreadProc(void* context) {
|
||||
PNV_MULTI_CONTROLLER_PACKET origPkt;
|
||||
int dirs[6];
|
||||
|
||||
memset(dirs, 0, sizeof(dirs));
|
||||
|
||||
origPkt = &holder->packet.multiController;
|
||||
for (;;) {
|
||||
PNV_MULTI_CONTROLLER_PACKET newPkt;
|
||||
|
||||
Reference in New Issue
Block a user