1
0
Fork 0
mirror of https://gitlab.com/Mr_Goldberg/goldberg_emulator.git synced 2024-11-14 10:50:13 +01:00

Fix build issue.

This commit is contained in:
Mr_Goldberg 2020-01-12 14:43:25 -05:00
parent 282ac22a46
commit 106fb03bb0
No known key found for this signature in database
GPG key ID: 8597D87419DEF278

View file

@ -661,8 +661,8 @@ int GetAnalogActionOrigins( InputHandle_t inputHandle, InputActionSetHandle_t ac
if (a == map->second.active_analog.end()) return 0; if (a == map->second.active_analog.end()) return 0;
int count = 0; int count = 0;
for (auto a: a->second.first) { for (auto b: a->second.first) {
switch (a) { switch (b) {
case TRIGGER_LEFT: case TRIGGER_LEFT:
originsOut[count] = k_EInputActionOrigin_XBox360_LeftTrigger_Pull; originsOut[count] = k_EInputActionOrigin_XBox360_LeftTrigger_Pull;
break; break;