mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-29 03:24:36 +00:00
cellPad: disable reserved bit check in cellPadSetActDirect
This commit is contained in:
parent
5ed700db5d
commit
cddc045c69
@ -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…
Reference in New Issue
Block a user