mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-13 22:54:24 -04:00
fatal: reboot to sdmc:/atmosphere/reboot_payload.bin
This commit is contained in:
parent
c6f06e2c40
commit
031c9e545b
7 changed files with 109 additions and 11 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue