mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-14 07:04:24 -04:00
fusee_cpp: various fixes, unpatched erista boots now
This commit is contained in:
parent
e5106ffa2c
commit
596f5c3f52
8 changed files with 1032 additions and 68 deletions
|
@ -439,6 +439,9 @@ namespace ams::nxboot {
|
|||
} else {
|
||||
std::memcpy(warmboot_dst + 0x10, PkcModulusDevelopmentErista, sizeof(PkcModulusDevelopmentErista));
|
||||
}
|
||||
|
||||
/* Set the target firmware. */
|
||||
std::memcpy(warmboot_dst + 0x248, std::addressof(target_firmware), sizeof(target_firmware));
|
||||
} else /* if (soc_type == fuse::SocType_Mariko) */ {
|
||||
/* Declare path for mariko warmboot files. */
|
||||
char warmboot_path[0x80] = "sdmc:/warmboot_mariko/wb_xx.bin";
|
||||
|
@ -745,6 +748,9 @@ namespace ams::nxboot {
|
|||
/* Setup the CPU to boot exosphere. */
|
||||
SetupCpu(reinterpret_cast<uintptr_t>(exosphere_dst));
|
||||
|
||||
/* Initialize bootloader parameters. */
|
||||
InitializeSecureMonitorMailbox();
|
||||
|
||||
/* Set our bootloader state. */
|
||||
SetBootloaderState(pkg1::BootloaderState_LoadedBootConfig);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue