From cddc045c6949fc93e53fa09c1e6a57cb34baffef Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 1 Sep 2019 11:29:26 +0200 Subject: [PATCH] cellPad: disable reserved bit check in cellPadSetActDirect --- rpcs3/Emu/Cell/Modules/cellPad.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellPad.cpp b/rpcs3/Emu/Cell/Modules/cellPad.cpp index a39a99e65a..1a7eb23cb1 100644 --- a/rpcs3/Emu/Cell/Modules/cellPad.cpp +++ b/rpcs3/Emu/Cell/Modules/cellPad.cpp @@ -550,9 +550,10 @@ error_code cellPadSetActDirect(u32 port_no, vm::ptr 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);