mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
cellPad: move CellPadData to pad_types for convenience
This commit is contained in:
parent
d4187242b9
commit
1dac708323
4 changed files with 11 additions and 10 deletions
|
@ -423,7 +423,7 @@ void pad_thread::operator()()
|
|||
continue;
|
||||
|
||||
// Check if an LDD pad pressed the PS button (bit 0 of the first button)
|
||||
if (pad->ldd && !!(static_cast<be_t<u16>>(pad->ldd_data[sizeof(be_t<u32>)]) & CELL_PAD_CTRL_LDD_PS))
|
||||
if (pad->ldd && !!(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