mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 09:08:30 +00:00
Added functions to identify PSP Model
This commit is contained in:
@@ -65,6 +65,18 @@ int sceSysconSetHPConnectCallback( void (*)(int), int unk0 );
|
|||||||
|
|
||||||
int sceSysconSetHRPowerCallback( void (*)(int), int unk0 );
|
int sceSysconSetHRPowerCallback( void (*)(int), int unk0 );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the PSP's Pommel version
|
||||||
|
* @param version - A pointer to an int to receive the Pommel version into
|
||||||
|
*/
|
||||||
|
int sceSysconGetPommelVersion( int* version );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the PSP's Baryon version
|
||||||
|
* @param version - A pointer to an int to receive the Baryon version into
|
||||||
|
*/
|
||||||
|
int sceSysconGetBaryonVersion( int* version );
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -69,6 +69,12 @@ int sceSysregMeBusClockEnable(void);
|
|||||||
*/
|
*/
|
||||||
int sceSysregMeBusClockDisable(void);
|
int sceSysregMeBusClockDisable(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the PSP's Tachyon version.
|
||||||
|
* @param version - A pointer to an int to receive the Tachyon version into
|
||||||
|
*/
|
||||||
|
int sceSysconGetTachyonVersion( int* version );
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -129,7 +129,7 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0xE6B74CB9,sceSysconNop
|
IMPORT_FUNC "sceSyscon_driver",0xE6B74CB9,sceSysconNop
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0042
|
#ifdef F_sceSyscon_driver_0042
|
||||||
IMPORT_FUNC "sceSyscon_driver",0x7EC5A957,sceSyscon_driver_7EC5A957
|
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,sceSyscon_driver_7BCC5EAE
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
IMPORT_FUNC "sceSyscon_driver",0x91E183CB,sceSysconPowerSuspend
|
IMPORT_FUNC "sceSyscon_driver",0x91E183CB,sceSysconPowerSuspend
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSyscon_driver_0063
|
#ifdef F_sceSyscon_driver_0063
|
||||||
IMPORT_FUNC "sceSyscon_driver",0xE7E87741,sceSyscon_driver_E7E87741
|
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,sceSyscon_driver_FB148FB6
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
IMPORT_FUNC "sceSysreg_driver",0x844AF6BD,sceSysreg_driver_844AF6BD
|
IMPORT_FUNC "sceSysreg_driver",0x844AF6BD,sceSysreg_driver_844AF6BD
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSysreg_driver_0006
|
#ifdef F_sceSysreg_driver_0006
|
||||||
IMPORT_FUNC "sceSysreg_driver",0xE2A5D1EE,sceSysreg_driver_E2A5D1EE
|
IMPORT_FUNC "sceSysreg_driver",0xE2A5D1EE,sceSysregGetTachyonVersion
|
||||||
#endif
|
#endif
|
||||||
#ifdef F_sceSysreg_driver_0007
|
#ifdef F_sceSysreg_driver_0007
|
||||||
IMPORT_FUNC "sceSysreg_driver",0x4F46EEDE,sceSysreg_driver_4F46EEDE
|
IMPORT_FUNC "sceSysreg_driver",0x4F46EEDE,sceSysreg_driver_4F46EEDE
|
||||||
|
Reference in New Issue
Block a user