Overlays: allow ldd input even if len is 0

Rock Band 3 doesn't seem to care about the len. It's always 0.
This commit is contained in:
Megamouse 2024-05-25 17:38:26 +02:00
parent c0ed56cba0
commit a3457c29cb
2 changed files with 6 additions and 7 deletions

View file

@ -400,7 +400,8 @@ void pad_thread::operator()()
continue;
// Check if an LDD pad pressed the PS button (bit 0 of the first button)
if (pad->ldd && pad->ldd_data.len >= 1 && !!(pad->ldd_data.button[0] & CELL_PAD_CTRL_LDD_PS))
// NOTE: Rock Band 3 doesn't seem to care about the len. It's always 0.
if (pad->ldd /*&& pad->ldd_data.len >= 1 */&& !!(pad->ldd_data.button[0] & CELL_PAD_CTRL_LDD_PS))
{
ps_button_pressed = true;
break;