mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-09 08:25:16 +00:00
Formatting fixes, ToBE() replaced with data()
This commit is contained in:
parent
f4c712dafc
commit
1c4e89d2bf
32 changed files with 166 additions and 158 deletions
|
|
@ -386,7 +386,7 @@ int cellPadInfoSensorMode(u32 port_no)
|
|||
|
||||
int cellPadSetPressMode(u32 port_no, u32 mode)
|
||||
{
|
||||
sys_io->Log("cellPadSetPressMode(port_no=%u, mode=%u)", port_no, mode);
|
||||
sys_io->Log("cellPadSetPressMode(port_no=%d, mode=%d)", port_no, mode);
|
||||
if (!Emu.GetPadManager().IsInited()) return CELL_PAD_ERROR_UNINITIALIZED;
|
||||
if (mode != 0 && mode != 1) return CELL_PAD_ERROR_INVALID_PARAMETER;
|
||||
const PadInfo& rinfo = Emu.GetPadManager().GetInfo();
|
||||
|
|
@ -405,7 +405,7 @@ int cellPadSetPressMode(u32 port_no, u32 mode)
|
|||
|
||||
int cellPadSetSensorMode(u32 port_no, u32 mode)
|
||||
{
|
||||
sys_io->Log("cellPadSetSensorMode(port_no=%u, mode=%u)", port_no, mode);
|
||||
sys_io->Log("cellPadSetSensorMode(port_no=%d, mode=%d)", port_no, mode);
|
||||
if (!Emu.GetPadManager().IsInited()) return CELL_PAD_ERROR_UNINITIALIZED;
|
||||
if (mode != 0 && mode != 1) return CELL_PAD_ERROR_INVALID_PARAMETER;
|
||||
const PadInfo& rinfo = Emu.GetPadManager().GetInfo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue