mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-14 00:56:35 +00:00
boot2: grc is no longer launched by boot2 on 12.0.0+
This commit is contained in:
parent
b2b0c50802
commit
b2d2f65b87
1 changed files with 5 additions and 2 deletions
|
@ -72,7 +72,6 @@ namespace ams::boot2 {
|
||||||
ncm::SystemProgramId::Profiler, /* profiler */
|
ncm::SystemProgramId::Profiler, /* profiler */
|
||||||
ncm::SystemProgramId::Sdb, /* sdb */
|
ncm::SystemProgramId::Sdb, /* sdb */
|
||||||
ncm::SystemProgramId::Migration, /* migration */
|
ncm::SystemProgramId::Migration, /* migration */
|
||||||
ncm::SystemProgramId::Grc, /* grc */
|
|
||||||
ncm::SystemProgramId::Olsc, /* olsc */
|
ncm::SystemProgramId::Olsc, /* olsc */
|
||||||
ncm::SystemProgramId::Ngct, /* ngct */
|
ncm::SystemProgramId::Ngct, /* ngct */
|
||||||
};
|
};
|
||||||
|
@ -113,7 +112,6 @@ namespace ams::boot2 {
|
||||||
ncm::SystemProgramId::Profiler, /* profiler */
|
ncm::SystemProgramId::Profiler, /* profiler */
|
||||||
ncm::SystemProgramId::Sdb, /* sdb */
|
ncm::SystemProgramId::Sdb, /* sdb */
|
||||||
ncm::SystemProgramId::Migration, /* migration */
|
ncm::SystemProgramId::Migration, /* migration */
|
||||||
ncm::SystemProgramId::Grc, /* grc */
|
|
||||||
ncm::SystemProgramId::Olsc, /* olsc */
|
ncm::SystemProgramId::Olsc, /* olsc */
|
||||||
ncm::SystemProgramId::Ngct, /* ngct */
|
ncm::SystemProgramId::Ngct, /* ngct */
|
||||||
};
|
};
|
||||||
|
@ -486,6 +484,11 @@ namespace ams::boot2 {
|
||||||
LaunchList(AdditionalLaunchPrograms, NumAdditionalLaunchPrograms);
|
LaunchList(AdditionalLaunchPrograms, NumAdditionalLaunchPrograms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Prior to 12.0.0, boot2 was responsible for launching grc. */
|
||||||
|
if (hos::GetVersion() < hos::Version_12_0_0) {
|
||||||
|
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Grc, ncm::StorageId::BuiltInSystem), 0);
|
||||||
|
}
|
||||||
|
|
||||||
/* Launch user programs off of the SD. */
|
/* Launch user programs off of the SD. */
|
||||||
LaunchFlaggedProgramsOnSdCard();
|
LaunchFlaggedProgramsOnSdCard();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue