Skip to content

Commit

Permalink
PAD: Fix ldd_data transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin9doi committed May 18, 2024
1 parent 9ceb22a commit 7f80548
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rpcs3/Emu/Cell/Modules/cellPad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,11 +269,7 @@ void pad_get_data(u32 port_no, CellPadData* data, bool get_periph_data = false)
}
else if (pad->ldd)
{
pad->ldd_data = *data;
if (setting & CELL_PAD_SETTING_SENSOR_ON)
data->len = CELL_PAD_LEN_CHANGE_SENSOR_ON;
else
data->len = (setting & CELL_PAD_SETTING_PRESS_ON) ? CELL_PAD_LEN_CHANGE_PRESS_ON : CELL_PAD_LEN_CHANGE_DEFAULT;
*data = pad->ldd_data;
return;
}
else
Expand Down

0 comments on commit 7f80548

Please sign in to comment.