mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00: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;
|
||||
|
||||
// make sure reserved bits are 0. Looks like this happens after checking the pad status
|
||||
for (int i = 0; i < 6; i++)
|
||||
if (param->reserved[i])
|
||||
return CELL_PAD_ERROR_INVALID_PARAMETER;
|
||||
// TODO: test this on real hardware and both old and new firmware
|
||||
//for (int i = 0; i < 6; i++)
|
||||
// if (param->reserved[i])
|
||||
// return CELL_PAD_ERROR_INVALID_PARAMETER;
|
||||
|
||||
handler->SetRumble(port_no, param->motor[1], param->motor[0] > 0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue