Small tweaks

- swap crash for credits
- home now reboots to atmosphere/reboot_payload.bin, or rcm if not found
This commit is contained in:
suchmememanyskill
2021-01-01 11:43:31 +01:00
parent a39b3b2460
commit b818b577e9
6 changed files with 26 additions and 17 deletions

View File

@@ -8,6 +8,15 @@
#include "../gfx/gfx.h"
#include "../gfx/menu.h"
#include "../hid/hid.h"
#include "../fs/fsutils.h"
extern int launch_payload(char *path);
void RebootToPayloadOrRcm(){
if (FileExists("sd:/atmosphere/reboot_payload.bin"))
launch_payload("sd:/atmosphere/reboot_payload.bin");
reboot_rcm();
}
char *CpyStr(const char* in){
int len = strlen(in);