fatal: reboot to sdmc:/atmosphere/reboot_payload.bin

This commit is contained in:
Michael Scire 2019-01-24 08:20:27 -08:00
parent c6f06e2c40
commit 031c9e545b
7 changed files with 109 additions and 11 deletions

View file

@ -29,6 +29,7 @@
#include "fatal_config.hpp"
#include "fatal_repair.hpp"
#include "fatal_font.hpp"
#include "fatal_payload_manager.hpp"
extern "C" {
extern u32 __start__;
@ -159,6 +160,9 @@ int main(int argc, char **argv)
/* Load settings from set:sys. */
InitializeFatalConfig();
/* Load a payload from the SD card. */
FatalPayloadManager::LoadPayloadFromSdCard();
/* Load shared font. */
if (R_FAILED(FontManager::InitializeSharedFont())) {
std::abort();