mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 23:42:14 +00:00
(XDK1) Remove manual usage of XInputClose in input free function
This commit is contained in:
parent
c3f19c13bf
commit
a747ad29d3
@ -356,17 +356,6 @@ static int16_t xdk_input_state(void *data, const struct retro_keybind **binds,
|
||||
|
||||
static void xdk_input_free_input(void *data)
|
||||
{
|
||||
xdk_input_t *xdk = (xdk_input_t*)data;
|
||||
int i;
|
||||
|
||||
(void)xdk;
|
||||
(void)i;
|
||||
|
||||
#ifdef _XBOX1
|
||||
for (i = 0; i < MAX_PADS; i++)
|
||||
XInputClose(xdk->gamepads[i]);
|
||||
#endif
|
||||
|
||||
free(data);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user