mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
ams.mitm: add bpc handler, for reboot power button stuff
This commit is contained in:
parent
e715197290
commit
784964d49d
12 changed files with 226 additions and 26 deletions
|
@ -225,8 +225,13 @@ void EmbeddedBoot2::Main() {
|
|||
BootModeService::SetMaintenanceBootForEmbeddedBoot2();
|
||||
}
|
||||
|
||||
/* Launch set:mitm, wait for it. */
|
||||
/* Wait for other atmosphere mitm modules to initialize. */
|
||||
WaitForMitm("set:sys");
|
||||
if (GetRuntimeFirmwareVersion() >= FirmwareVersion_200) {
|
||||
WaitForMitm("bpc");
|
||||
} else {
|
||||
WaitForMitm("bpc:c");
|
||||
}
|
||||
|
||||
/* Launch usb. */
|
||||
LaunchTitle(Boot2KnownTitleId::usb, FsStorageId_NandSystem, 0, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue