mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 13:25:28 +00:00
(iOS) Build fixes
This commit is contained in:
parent
f08f78e86a
commit
36135cfff2
@ -128,7 +128,7 @@ static void apple_gamecontroller_disconnect(GCController* controller)
|
||||
if (pad == GCControllerPlayerIndexUnset)
|
||||
return;
|
||||
|
||||
pad_connection_disconnect(&slots[pad], pad);
|
||||
pad_connection_pad_deinit(&slots[pad], pad);
|
||||
}
|
||||
|
||||
void apple_gamecontroller_init(void)
|
||||
|
@ -326,7 +326,7 @@ void btpad_packet_handler(uint8_t packet_type,
|
||||
|
||||
RARCH_LOG("[BTpad]: Got %.200s.\n", (char*)&packet[9]);
|
||||
|
||||
connection->slot = pad_connection_connect(&slots[connection->slot],
|
||||
connection->slot = pad_connection_pad_init(&slots[connection->slot],
|
||||
(char*)packet + 9, connection, &btpad_connection_send_control);
|
||||
connection->state = BTPAD_CONNECTED;
|
||||
}
|
||||
@ -353,7 +353,7 @@ void btpad_packet_handler(uint8_t packet_type,
|
||||
{
|
||||
connection->handle = 0;
|
||||
|
||||
pad_connection_disconnect(&slots[connection->slot], connection->slot);
|
||||
pad_connection_pad_deinit(&slots[connection->slot], connection->slot);
|
||||
btpad_close_connection(connection);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user