Files
RepairNX/source/utils/utils.h
T
niklascfw 1dabe126ac Let Erista reboot to hekate
The entry was hidden on Erista whenever the SD card was not mounted while
the menu was built. When shown, it tried atmosphere/reboot_payload.bin
first; on OmniNX that is fusee, which is rejected as not hekate, and the
rejection unmounted the card, so bootloader/update.bin was never found.
Always offer the entry, try the hekate files first, mount the card before
each attempt and point to RCM if hekate cannot be loaded.
2026-11-30 22:41:02 +01:00

18 lines
486 B
C

#pragma once
#include <utils/types.h>
char *CpyStr(const char* in);
void MaskIn(char *mod, u32 bitstream, char mask);
bool StrEndsWith(char *begin, char *end);
void WaitFor(u32 ms);
void RebootToPayloadOrRcm();
void reboot_to_hekate_menu(void);
int launch_payload_ex(char *path, bool force_hekate_menu);
int launch_payload(char *path);
#define FREE(x) free(x); x = NULL;
char *ShowKeyboard(const char *toEdit, u8 alwaysRet);
void power_off();
void reboot_rcm();
void reboot_normal();