mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-15 01:15:15 +01:00
Merge pull request #13 from Crayon2000/KPADReadEx
Fix linking problem with KPADReadEx
This commit is contained in:
commit
c0971cb52b
@ -32,7 +32,8 @@ EXPORT_DECL(s32, WPADProbe, s32 chan, u32 * pad_type);
|
||||
EXPORT_DECL(s32, WPADSetDataFormat, s32 chan, s32 format);
|
||||
EXPORT_DECL(void, WPADEnableURCC, s32 enable);
|
||||
EXPORT_DECL(void, WPADRead, s32 chan, void * data);
|
||||
EXPORT_DECL(s32, KPADRead, s32 chan, void * data, u32 size);
|
||||
EXPORT_DECL(s32, KPADRead, s32 chan, KPADData * data, u32 size);
|
||||
EXPORT_DECL(s32, KPADReadEx, s32 chan, KPADData * data, u32 size, s32 *error);
|
||||
EXPORT_DECL(void,WPADSetAutoSleepTime,u8 minute);
|
||||
EXPORT_DECL(void,WPADDisconnect,s32 chan);
|
||||
|
||||
@ -53,6 +54,7 @@ void InitPadScoreFunctionPointers(void)
|
||||
OS_FIND_EXPORT(padscore_handle, WPADEnableURCC);
|
||||
OS_FIND_EXPORT(padscore_handle, WPADRead);
|
||||
OS_FIND_EXPORT(padscore_handle, KPADRead);
|
||||
OS_FIND_EXPORT(padscore_handle, KPADReadEx);
|
||||
OS_FIND_EXPORT(padscore_handle, WPADSetAutoSleepTime);
|
||||
OS_FIND_EXPORT(padscore_handle, WPADDisconnect);
|
||||
|
||||
|
@ -188,7 +188,7 @@ extern s32 (* WPADProbe)(s32 chan, u32 * pad_type);
|
||||
extern s32 (* WPADSetDataFormat)(s32 chan, s32 format);
|
||||
extern void (* WPADEnableURCC)(s32 enable);
|
||||
extern void (* WPADRead)(s32 chan, void * data);
|
||||
extern s32 (* KPADRead)(s32 chan, void * data, u32 size);
|
||||
extern s32 (* KPADRead)(s32 chan, KPADData * data, u32 size);
|
||||
extern s32 (* KPADReadEx)(s32 chan, KPADData * data, u32 size, s32 *error);
|
||||
extern void (*WPADSetAutoSleepTime)(u8 time);
|
||||
extern void (*WPADDisconnect)( s32 chan );
|
||||
|
Loading…
Reference in New Issue
Block a user