mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 17:09:09 +00:00
syscon: Use known/documented function names
This commit is contained in:
@@ -57,24 +57,33 @@ int sceSysconCtrlLED(int SceLED, int state);
|
|||||||
*/
|
*/
|
||||||
int sceSysconCtrlHRPower(int power);
|
int sceSysconCtrlHRPower(int power);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the headphone connection status.
|
||||||
|
* @return 1 if the headphone is connected, 0 if the headphone is disconnected.
|
||||||
|
*/
|
||||||
|
s8 sceSysconGetHPConnect(void);
|
||||||
|
|
||||||
int sceSysconGetHPConnect(void);
|
int sceSysconSetHPConnectCallback(void (*)(int), int unk0);
|
||||||
|
|
||||||
int sceSysconSetHPConnectCallback( void (*)(int), int unk0 );
|
int sceSysconSetHRPowerCallback(void (*)(int), int unk0);
|
||||||
|
|
||||||
int sceSysconSetHRPowerCallback( void (*)(int), int unk0 );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the PSP's Pommel version
|
* Get the PSP's Pommel version
|
||||||
* @param version - A pointer to an int to receive the Pommel version into
|
* @param version - A pointer to an int to receive the Pommel version into
|
||||||
*/
|
*/
|
||||||
int sceSysconGetPommelVersion( int* version );
|
int sceSysconGetPommelVersion(int* version);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the PSP's Baryon version
|
* Get the PSP's Baryon version
|
||||||
* @param version - A pointer to an int to receive the Baryon version into
|
* @param version - A pointer to an int to receive the Baryon version into
|
||||||
*/
|
*/
|
||||||
int sceSysconGetBaryonVersion( int* version );
|
int sceSysconGetBaryonVersion(int* version);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the PSP's Polestar version
|
||||||
|
* @param version - A pointer to an int to receive the Polestar version into
|
||||||
|
*/
|
||||||
|
int sceSysconGetPolestarVersion(int* version);
|
||||||
|
|
||||||
/**@}*/
|
/**@}*/
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0x56931095,sceSysconResume
|
IMPORT_FUNC "sceSyscon_driver",0x56931095,sceSysconResume
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0005
|
#ifdef F_sceSyscon_driver_0005
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x5EE92F3C,sceSyscon_driver_5EE92F3C
|
IMPORT_FUNC "sceSyscon_driver",0x5EE92F3C,sceSysconSetDebugHandlers
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0006
|
#ifdef F_sceSyscon_driver_0006
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x5FF1D610,sceSyscon_driver_5FF1D610
|
IMPORT_FUNC "sceSyscon_driver",0x5FF1D610,sceSyscon_driver_5FF1D610
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0xF350F666,sceSysconCmdSync
|
IMPORT_FUNC "sceSyscon_driver",0xF350F666,sceSysconCmdSync
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0021
|
#ifdef F_sceSyscon_driver_0021
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x86D4CAD8,sceSyscon_driver_86D4CAD8
|
IMPORT_FUNC "sceSyscon_driver",0x86D4CAD8,sceSysconGetBaryonStatus
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0022
|
#ifdef F_sceSyscon_driver_0022
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x32CFD20F,sceSysconIsLowBattery
|
IMPORT_FUNC "sceSyscon_driver",0x32CFD20F,sceSysconIsLowBattery
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0x7EC5A957,sceSysconGetBaryonVersion
|
IMPORT_FUNC "sceSyscon_driver",0x7EC5A957,sceSysconGetBaryonVersion
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0043
|
#ifdef F_sceSyscon_driver_0043
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x7BCC5EAE,sceSyscon_driver_7BCC5EAE
|
IMPORT_FUNC "sceSyscon_driver",0x7BCC5EAE,sceSysconGetTimeStamp
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0044
|
#ifdef F_sceSyscon_driver_0044
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x3B657A27,sceSyscon_driver_3B657A27
|
IMPORT_FUNC "sceSyscon_driver",0x3B657A27,sceSyscon_driver_3B657A27
|
||||||
@@ -159,10 +159,10 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0x6C911742,sceSysconWriteAlarm
|
IMPORT_FUNC "sceSyscon_driver",0x6C911742,sceSysconWriteAlarm
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0052
|
#ifdef F_sceSyscon_driver_0052
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x65EB6096,sceSyscon_driver_65EB6096
|
IMPORT_FUNC "sceSyscon_driver",0x65EB6096,sceSysconWriteScratchPad
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0053
|
#ifdef F_sceSyscon_driver_0053
|
||||||
IMPORT_FUNC "sceSyscon_driver",0xEB277C88,sceSyscon_driver_EB277C88
|
IMPORT_FUNC "sceSyscon_driver",0xEB277C88,sceSysconReadScratchPad
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0054
|
#ifdef F_sceSyscon_driver_0054
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x992C22C2,sceSysconSendSetParam
|
IMPORT_FUNC "sceSyscon_driver",0x992C22C2,sceSysconSendSetParam
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0x882F0AAB,sceSyscon_driver_882F0AAB
|
IMPORT_FUNC "sceSyscon_driver",0x882F0AAB,sceSyscon_driver_882F0AAB
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0057
|
#ifdef F_sceSyscon_driver_0057
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x2EE82492,sceSyscon_driver_2EE82492
|
IMPORT_FUNC "sceSyscon_driver",0x2EE82492,sceSysconCtrlTachyonWDT
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0058
|
#ifdef F_sceSyscon_driver_0058
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x8CBC7987,sceSysconResetDevice
|
IMPORT_FUNC "sceSyscon_driver",0x8CBC7987,sceSysconResetDevice
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0xE7E87741,sceSysconGetPommelVersion
|
IMPORT_FUNC "sceSyscon_driver",0xE7E87741,sceSysconGetPommelVersion
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0064
|
#ifdef F_sceSyscon_driver_0064
|
||||||
IMPORT_FUNC "sceSyscon_driver",0xFB148FB6,sceSyscon_driver_FB148FB6
|
IMPORT_FUNC "sceSyscon_driver",0xFB148FB6,sceSysconGetPolestarVersion
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0065
|
#ifdef F_sceSyscon_driver_0065
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x01677F91,sceSyscon_driver_01677F91
|
IMPORT_FUNC "sceSyscon_driver",0x01677F91,sceSyscon_driver_01677F91
|
||||||
@@ -210,10 +210,10 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0x18BFBE65,sceSysconCtrlLED
|
IMPORT_FUNC "sceSyscon_driver",0x18BFBE65,sceSysconCtrlLED
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0069
|
#ifdef F_sceSyscon_driver_0069
|
||||||
IMPORT_FUNC "sceSyscon_driver",0xD1B501E8,sceSyscon_driver_D1B501E8
|
IMPORT_FUNC "sceSyscon_driver",0xD1B501E8,sceSysconWritePommelReg
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0070
|
#ifdef F_sceSyscon_driver_0070
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x3DE38336,sceSyscon_driver_3DE38336
|
IMPORT_FUNC "sceSyscon_driver",0x3DE38336,sceSysconReadPommelReg
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0071
|
#ifdef F_sceSyscon_driver_0071
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x2B9E6A06,sceSysconGetPowerError
|
IMPORT_FUNC "sceSyscon_driver",0x2B9E6A06,sceSysconGetPowerError
|
||||||
@@ -240,10 +240,10 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0x9478F399,sceSyscon_driver_9478F399
|
IMPORT_FUNC "sceSyscon_driver",0x9478F399,sceSyscon_driver_9478F399
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0079
|
#ifdef F_sceSyscon_driver_0079
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x806D4D6C,sceSyscon_driver_806D4D6C
|
IMPORT_FUNC "sceSyscon_driver",0x806D4D6C,sceSysconWritePolestarReg
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0080
|
#ifdef F_sceSyscon_driver_0080
|
||||||
IMPORT_FUNC "sceSyscon_driver",0xD8471760,sceSyscon_driver_D8471760
|
IMPORT_FUNC "sceSyscon_driver",0xD8471760,sceSysconReadPolestarReg
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0081
|
#ifdef F_sceSyscon_driver_0081
|
||||||
IMPORT_FUNC "sceSyscon_driver",0xEAB13FBE,sceSyscon_driver_EAB13FBE
|
IMPORT_FUNC "sceSyscon_driver",0xEAB13FBE,sceSyscon_driver_EAB13FBE
|
||||||
|
Reference in New Issue
Block a user