(XDK1) Remove manual usage of XInputClose in input free function

This commit is contained in:
twinaphex 2014-05-30 00:32:37 +02:00
parent c3f19c13bf
commit a747ad29d3

View File

@ -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);
}