mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
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:
parent
c0ed56cba0
commit
a3457c29cb
2 changed files with 6 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue