kscePowerSetCallbackEnabled -> kscePowerSetCallbackState for vitasdk

This commit is contained in:
SilicaAndPina 2019-07-16 01:29:12 +12:00
parent ccd28a0e6e
commit d5551e686a
4 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ void lock()
SCE_SHELL_UTIL_LOCK_TYPE_MC_REMOVED | SCE_SHELL_UTIL_LOCK_TYPE_MC_REMOVED |
SCE_SHELL_UTIL_LOCK_TYPE_MUSIC_PLAYER | SCE_SHELL_UTIL_LOCK_TYPE_MUSIC_PLAYER |
SCE_SHELL_UTIL_LOCK_TYPE_PS_BTN_2); SCE_SHELL_UTIL_LOCK_TYPE_PS_BTN_2);
scePowerSetCallbackEnabled(0); // Magical NID engineered by FAPS TEAM ;) scePowerSetCallbackState(0); // Magical NID engineered by FAPS TEAM ;)
} }
void extract() void extract()

View File

@ -13,4 +13,4 @@ Cex2Rex_User:
- dd - dd
- DecryptSpkgFile - DecryptSpkgFile
- getTotalLeft - getTotalLeft
- scePowerSetCallbackEnabled - scePowerSetCallbackState

View File

@ -3,4 +3,4 @@
int dd(char *inf, char *of, int size); int dd(char *inf, char *of, int size);
int DecryptSpkgFile(char *in, char *out); int DecryptSpkgFile(char *in, char *out);
int getTotalLeft(); int getTotalLeft();
int scePowerSetCallbackEnabled(int enable); int scePowerSetCallbackState(int enable);

View File

@ -18,7 +18,7 @@ int getTotalLeft()
return kgetTotalLeft(); return kgetTotalLeft();
} }
int scePowerSetCallbackEnabled(int enable) int scePowerSetCallbackState(int enable)
{ {
return kscePowerSetCallbackStateForUser(enable); return kscePowerSetCallbackStateForUser(enable);
} }