summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/user/power.h24
-rw-r--r--include/user/sysmodule.h8
2 files changed, 20 insertions, 12 deletions
diff --git a/include/user/power.h b/include/user/power.h
index 592a499..f08564c 100644
--- a/include/user/power.h
+++ b/include/user/power.h
@@ -12,22 +12,24 @@ typedef void (*ScePowerCallback)(int unknown, int powerInfo);
/* prototypes */
int scePowerRegisterCallback(int slot, SceUID cbid);
-int scePowerIsBatteryCharging();
-int scePowerGetBatteryLifePercent();
+int scePowerIsBatteryCharging(void);
+int scePowerGetBatteryLifePercent(void);
int scePowerSetConfigurationMode(int mode); //?
-SceBool scePowerIsSuspendRequired(); //?
-int scePowerIsPowerOnline();
-int scePowerGetBatteryLifeTime();
-int scePowerGetBatteryRemainCapacity(); //?
-int scePowerIsLowBattery();
+SceBool scePowerIsSuspendRequired(void); //?
+int scePowerIsPowerOnline(void);
+int scePowerGetBatteryLifeTime(void);
+int scePowerGetBatteryRemainCapacity(void); //?
+int scePowerIsLowBattery(void);
int scePowerUnregisterCallback(int slot);
-int scePowerGetBatteryFullCapacity(); //?
-int scePowerGetArmClockFrequency(); //Get Clock Frequency of the ARM
-int scePowerGetBusClockFrequency(); //Get Clock Frequency of the BUS
-int scePowerGetGpuClockFrequency(); //Get Clock Frequency of the Gpu
+int scePowerGetBatteryFullCapacity(void); //?
+int scePowerGetArmClockFrequency(void); //Get Clock Frequency of the ARM
+int scePowerGetBusClockFrequency(void); //Get Clock Frequency of the BUS
+int scePowerGetGpuClockFrequency(void); //Get Clock Frequency of the Gpu
+int scePowerGetGpuXbarClockFrequency(void); //Get Clock Frequency of the Gpu Crossbar
int scePowerSetArmClockFrequency(int freq); // Set Clock Frequency of the ARM
int scePowerSetBusClockFrequency(int freq); // Set Clock Frequency of the BUS
int scePowerSetGpuClockFrequency(int freq); // Set Clock Frequency of the Gpu
+int scePowerSetGpuXbarClockFrequency(int freq); // Set Clock Frequency of the Gpu Crossbar
#ifdef __cplusplus
}
diff --git a/include/user/sysmodule.h b/include/user/sysmodule.h
index 163db4d..1ef7d2c 100644
--- a/include/user/sysmodule.h
+++ b/include/user/sysmodule.h
@@ -65,7 +65,13 @@ enum {
SCE_SYSMODULE_ATRAC = 0x0030,
SCE_SYSMODULE_NP_SNS_FACEBOOK = 0x0031,
SCE_SYSMODULE_FACE = 0x0038,
- SCE_SYSMODULE_SMART = 0x0039
+ SCE_SYSMODULE_SMART = 0x0039,
+ SCE_SYSMODULE_PSPNET_ADHOC = 0x0043,
+ SCE_SYSMODULE_NP_SIGNALING = 0x0046,
+ SCE_SYSMODULE_MUSIC_EXPORT = 0x0049,
+ SCE_SYSMODULE_NEAR_DIALOG_UTIL = 0x004a,
+ SCE_SYSMODULE_LOCATION_EXTENSION = 0x004b,
+ SCE_SYSMODULE_AVPLAYER = 0x004c
};
int sceSysmoduleLoadModule(SceUInt16 id);