mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
cellPad: disable reserved bit check in cellPadSetActDirect
This commit is contained in:
parent
5ed700db5d
commit
cddc045c69
1 changed files with 4 additions and 3 deletions
|
@ -550,9 +550,10 @@ error_code cellPadSetActDirect(u32 port_no, vm::ptr<CellPadActParam> param)
|
||||||
return CELL_PAD_ERROR_UNSUPPORTED_GAMEPAD;
|
return CELL_PAD_ERROR_UNSUPPORTED_GAMEPAD;
|
||||||
|
|
||||||
// make sure reserved bits are 0. Looks like this happens after checking the pad status
|
// make sure reserved bits are 0. Looks like this happens after checking the pad status
|
||||||
for (int i = 0; i < 6; i++)
|
// TODO: test this on real hardware and both old and new firmware
|
||||||
if (param->reserved[i])
|
//for (int i = 0; i < 6; i++)
|
||||||
return CELL_PAD_ERROR_INVALID_PARAMETER;
|
// if (param->reserved[i])
|
||||||
|
// return CELL_PAD_ERROR_INVALID_PARAMETER;
|
||||||
|
|
||||||
handler->SetRumble(port_no, param->motor[1], param->motor[0] > 0);
|
handler->SetRumble(port_no, param->motor[1], param->motor[0] > 0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue