Update bdk to hekate 5.5.2

This commit is contained in:
suchmememanyskill
2021-01-12 00:30:14 +01:00
parent f730f4a08e
commit 8709e3aa2e
52 changed files with 1541 additions and 722 deletions

View File

@@ -12,6 +12,14 @@
extern int launch_payload(char *path);
void ALWAYS_INLINE power_off(){
power_set_state(POWER_OFF);
}
void ALWAYS_INLINE reboot_rcm(){
power_set_state(REBOOT_RCM);
}
void RebootToPayloadOrRcm(){
if (FileExists("sd:/atmosphere/reboot_payload.bin"))
launch_payload("sd:/atmosphere/reboot_payload.bin");

View File

@@ -8,4 +8,7 @@ void WaitFor(u32 ms);
void RebootToPayloadOrRcm();
#define FREE(x) free(x); x = NULL;
char *ShowKeyboard(const char *toEdit, u8 alwaysRet);
char *ShowKeyboard(const char *toEdit, u8 alwaysRet);
void power_off();
void reboot_rcm();