Replaced ctrl.h function name defines with the "alias" version.

This commit is contained in:
_Felix_ 2012-02-02 20:16:28 +00:00
parent 743e653258
commit 885ae76920
2 changed files with 7 additions and 7 deletions

View File

@ -91,7 +91,7 @@ typedef struct _SceCtrl {
/** Button bit mask defining buttons going to be supported (recognized if being pressed or not).
* Can be used to ignore buttons (buttons constantly turned off). */
u32 maskSupportButtons; //668
/** Button bit mask defining buttons going to be simualated as being pressed. */
/** Button bit mask defining buttons going to be simulated as being pressed. */
u32 maskSetButtons; //672
int unk_4; //676
int unk_5; //680
@ -1716,7 +1716,7 @@ pspCtrlPadButtonMaskMode sceCtrlSetButtonIntercept(u32 mask, pspCtrlPadButtonMas
suspendFlag = sceKernelCpuSuspendIntr(); //0x000017E0
if (mask & curMaskSupBtns) { //0x00001800
prevBtnMaskMode = (mask & curMaskSetBtns) ? PSP_CTRL_MASK_SET_BUTTON_MASK : PSP_CTRL_MASK_DELETE_BUTTON_MASK_SETTING; //0x00001808 & 0x00001810
prevBtnMaskMode = (mask & curMaskSetBtns) ? PSP_CTRL_MASK_SET_BUTTON_MASK : PSP_CTRL_MASK_DELETE_BUTTON_MASK_SETTING; //0x00001808 & 0x00001810
}
if (buttonMaskMode != PSP_CTRL_MASK_DELETE_BUTTON_MASK_SETTING) { //0x00001814
if (buttonMaskMode == PSP_CTRL_MASK_IGNORE_BUTTON_MASK) { //0x00001818 & 0x00001850

View File

@ -31,15 +31,15 @@
#include "../global.h"
/** Custom function name. */
#define sceCtrlPeekBufferPositiveExt sceCtrl_5A36B1C2
int sceCtrl_5A36B1C2(int arg1, SceCtrlDataExt *pad, u8 reqBufReads)__attribute__((alias("sceCtrlPeekBufferPositiveExt")));
/** Custom function name. */
#define sceCtrlPeekBufferNegativeExt sceCtrl_239A6BA7
int sceCtrl_239A6BA7(int arg1, SceCtrlDataExt *pad, u8 reqBufReads)__attribute__((alias("sceCtrlPeekBufferNegativeExt")));
/** Custom function name. */
#define sceCtrlReadBufferPositiveExt sceCtrl_1098030B
int sceCtrl_1098030B(int arg1, SceCtrlDataExt *pad, u8 reqBufReads)__attribute__((alias("sceCtrlReadBufferPositiveExt")));
/** Custom function name. */
#define sceCtrlReadBufferNegativeExt sceCtrl_7C3675AB
int sceCtrl_7C3675AB(int arg1, SceCtrlDataExt *pad, u8 reqBufReads)__attribute__((alias("sceCtrlReadBufferNegativeExt")));
/** Custom function name. */
#define sceCtrlExtendInternalCtrlBuffers sceCtrl_driver_65698764
int sceCtrl_driver_65698764(u8 mode, int arg2, int arg3)__attribute__((alias("sceCtrlExtendInternalCtrlBuffers")));
/** The callback function used by ::sceCtrlSetSpecialButtonCallback. */
typedef void (*SceCtrlCb)(int curr, int last, void *opt);