mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 19:54:22 -04:00
pm: on 7.0.0+, npns is launched in maintenance boot (closes #511)
This commit is contained in:
parent
4e5f033e41
commit
908de31a0e
3 changed files with 7 additions and 2 deletions
|
@ -247,6 +247,11 @@ void EmbeddedBoot2::Main() {
|
|||
if (!maintenance || std::get<bool>(launch_program)) {
|
||||
LaunchTitle(std::get<u64>(launch_program), FsStorageId_NandSystem, 0, NULL);
|
||||
}
|
||||
|
||||
/* In 7.0.0, Npns was added to the list of titles to launch during maintenance. */
|
||||
if (maintenance && std::get<u64>(launch_program) == TitleId_Npns && GetRuntimeFirmwareVersion() >= FirmwareVersion_700) {
|
||||
LaunchTitle(TitleId_Npns, FsStorageId_NandSystem, 0, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/* Allow for user-customizable programs. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue