This fixes all-non Xinput/Xbox pads - they were all non-working

before
This commit is contained in:
twinaphex 2018-12-30 19:55:37 +01:00
parent 4ae4b6d4d0
commit 74f391de9b

View File

@ -288,7 +288,7 @@ static bool xinput_joypad_init(void *data)
(!g_xinput_states[1].connected) && (!g_xinput_states[1].connected) &&
(!g_xinput_states[2].connected) && (!g_xinput_states[2].connected) &&
(!g_xinput_states[3].connected)) (!g_xinput_states[3].connected))
return true; return false;
RARCH_LOG("[XInput]: Pads connected: %d\n", g_xinput_states[0].connected + RARCH_LOG("[XInput]: Pads connected: %d\n", g_xinput_states[0].connected +
g_xinput_states[1].connected + g_xinput_states[2].connected + g_xinput_states[3].connected); g_xinput_states[1].connected + g_xinput_states[2].connected + g_xinput_states[3].connected);