events.c: Clear event buffer after propagating in Mac
-The line was previously commented-out -Even if the instruction is not vital, uncommenting it makes mac polling consistent with unix and windows polling
This commit is contained in:
@@ -206,7 +206,7 @@ int wiiuse_poll(struct wiimote_t** wm, int wiimotes) {
|
|||||||
evnt += (wm[i]->event != WIIUSE_NONE);
|
evnt += (wm[i]->event != WIIUSE_NONE);
|
||||||
|
|
||||||
/* clear out the event buffer */
|
/* clear out the event buffer */
|
||||||
/*memset(wm[i]->event_buf, 0, sizeof(wm[i]->event_buf));*/
|
memset(wm[i]->event_buf, 0, sizeof(wm[i]->event_buf));
|
||||||
} else {
|
} else {
|
||||||
idle_cycle(wm[i]);
|
idle_cycle(wm[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user