Update to new common-c to show the correct number of controllers on the host PC

This commit is contained in:
Cameron Gutman
2017-02-04 20:16:18 -08:00
parent eac2d985e2
commit 62aaf27293
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@
{
[_controllerStreamLock lock];
@synchronized(controller) {
LiSendMultiControllerEvent(controller.playerIndex, controller.lastButtonFlags, controller.lastLeftTrigger, controller.lastRightTrigger, controller.lastLeftStickX, controller.lastLeftStickY, controller.lastRightStickX, controller.lastRightStickY);
LiSendMultiControllerEvent(controller.playerIndex, _controllerNumbers, controller.lastButtonFlags, controller.lastLeftTrigger, controller.lastRightTrigger, controller.lastLeftStickX, controller.lastLeftStickY, controller.lastRightStickX, controller.lastRightStickY);
}
[_controllerStreamLock unlock];
}