Skip to content

Commit

Permalink
src/ctrl.c: sceCtrlSetRapidFire(): Renamed parameter "buttonsOffTime"…
Browse files Browse the repository at this point in the history
… to "uiBreak" to match prototype definition in ctrl.h.
  • Loading branch information
Felix-Dev committed Mar 26, 2014
1 parent df396f8 commit 2bc5eb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ctrl/ctrl.c
Expand Up @@ -992,7 +992,7 @@ s32 sceCtrlClearRapidFire(u8 slot)
}

s32 sceCtrlSetRapidFire(u8 slot, u32 uiMask, u32 uiTrigger, u32 uiTarget, u8 uiDelay,
u8 uiMake, u8 buttonsOffTime)
u8 uiMake, u8 uiBreak)
{
u32 usedButtons;
u32 invalidButtons;
Expand All @@ -1002,7 +1002,7 @@ s32 sceCtrlSetRapidFire(u8 slot, u32 uiMask, u32 uiTrigger, u32 uiTarget, u8 uiD
if (slot > CTRL_BUTTONS_RAPID_FIRE_MAX_SLOT)
return SCE_ERROR_INVALID_INDEX;

if ((uiDelay | uiMake | buttonsOffTime) > CTRL_MAX_INTERNAL_CONTROLLER_BUFFER)
if ((uiDelay | uiMake | uiBreak) > CTRL_MAX_INTERNAL_CONTROLLER_BUFFER)
return SCE_ERROR_INVALID_VALUE;

oldK1 = pspShiftK1();
Expand All @@ -1026,7 +1026,7 @@ s32 sceCtrlSetRapidFire(u8 slot, u32 uiMask, u32 uiTrigger, u32 uiTarget, u8 uiD
g_ctrl.rapidFire[slot].uiMask = uiMask;
g_ctrl.rapidFire[slot].uiTrigger = uiTrigger;
g_ctrl.rapidFire[slot].uiTarget = uiTarget;
g_ctrl.rapidFire[slot].uiBreak = buttonsOffTime;
g_ctrl.rapidFire[slot].uiBreak = uiBreak;
g_ctrl.rapidFire[slot].uiDelay = uiDelay;
g_ctrl.rapidFire[slot].eventData = 0;

Expand Down

0 comments on commit 2bc5eb3

Please sign in to comment.