diff options
author | TheOfficialFloW | 2016-11-07 19:34:41 +0100 |
---|---|---|
committer | GitHub | 2016-11-07 19:34:41 +0100 |
commit | 79811802d59d0d87afd5c01ffbfa8f83f7100d5b (patch) | |
tree | 9ad962dafb65f122915d9ef824e650fba42bbe51 /include | |
parent | add flags to SceCreateUidObjOpt (diff) | |
download | vds-libraries-79811802d59d0d87afd5c01ffbfa8f83f7100d5b.tar.gz |
Fixed power callb
Diffstat (limited to 'include')
-rw-r--r-- | include/user/power.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/user/power.h b/include/user/power.h index 8733abf..23b4470 100644 --- a/include/user/power.h +++ b/include/user/power.h @@ -15,21 +15,20 @@ typedef void (*ScePowerCallback)(int unknown, int powerInfo); /** * Registers a ScePower Callback * - * @param slot - Slot for the specified callback * @param cbid - The UID of the specified callback * * @return 0 on success, < 0 on error */ -int scePowerRegisterCallback(int slot, SceUID cbid); +int scePowerRegisterCallback(SceUID cbid); /** * Unregister a callback * - * @param slot - Callback slot to unregister + * @param cbid - The UID of the specified callback * * @return 0 on success, < 0 on error */ -int scePowerUnregisterCallback(int slot); +int scePowerUnregisterCallback(SceUID cbid); /* Prototypes */ |