diff options
author | Rinnegatamante | 2018-01-30 13:08:45 +0100 |
---|---|---|
committer | devnoname120 | 2018-01-30 13:16:32 +0100 |
commit | b0c7806821f942f4cb39e4f7c24b91c7d3b06a41 (patch) | |
tree | 5da20a74ee7f46c5deeb96fbe04ad173651b5ad4 /include/user/power.h | |
parent | Fixed wrong NID in SceDisplay (diff) | |
download | vds-libraries-b0c7806821f942f4cb39e4f7c24b91c7d3b06a41.tar.gz |
Added ScePower errorcodes.
Diffstat (limited to 'include/user/power.h')
-rw-r--r-- | include/user/power.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/user/power.h b/include/user/power.h index c05bd92..e42259e 100644 --- a/include/user/power.h +++ b/include/user/power.h @@ -8,6 +8,15 @@ extern "C" { #endif +typedef enum ScePowerErrorCode { + SCE_POWER_ERROR_INVALID_VALUE = 0x802B0000, + SCE_POWER_ERROR_ALREADY_REGISTERED = 0x802B0001, + SCE_POWER_ERROR_CALLBACK_NOT_REGISTERED = 0x802B0002, + SCE_POWER_ERROR_CANT_SUSPEND = 0x802B0003, + SCE_POWER_ERROR_NO_BATTERY = 0x802B0100, + SCE_POWER_ERROR_DETECTING = 0x802B0101 +} ScePowerErrorCode; + typedef enum ScePowerCallbackType { /** indicates the unit is suspending, seems to occur due to inactivity */ SCE_POWER_CB_SUSPENDING = 0x00010000, |