fix AddLddPad when more than one ldd pad

This commit is contained in:
RipleyTom 2020-04-06 22:06:35 +02:00 committed by Ivan
parent f7536bbce0
commit dce81d4a66

View file

@ -244,7 +244,7 @@ s32 pad_thread::AddLddPad()
// Look for first null pad // Look for first null pad
for (u32 i = 0; i < CELL_PAD_MAX_PORT_NUM; i++) for (u32 i = 0; i < CELL_PAD_MAX_PORT_NUM; i++)
{ {
if (g_cfg_input.player[i]->handler == pad_handler::null) if (g_cfg_input.player[i]->handler == pad_handler::null && !m_pads[i]->ldd)
{ {
m_pads[i]->ldd = true; m_pads[i]->ldd = true;
num_ldd_pad++; num_ldd_pad++;