From 9d30917f4edae786f894d0adbf4513205530e6a1 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 11 Apr 2021 10:37:04 -0700 Subject: [PATCH] boot2: migration also not launched in 12.0.0 --- libraries/libstratosphere/source/boot2/boot2_api.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libraries/libstratosphere/source/boot2/boot2_api.cpp b/libraries/libstratosphere/source/boot2/boot2_api.cpp index 57cc142c6..30b93416d 100644 --- a/libraries/libstratosphere/source/boot2/boot2_api.cpp +++ b/libraries/libstratosphere/source/boot2/boot2_api.cpp @@ -71,7 +71,6 @@ namespace ams::boot2 { ncm::SystemProgramId::Ro, /* ro */ ncm::SystemProgramId::Profiler, /* profiler */ ncm::SystemProgramId::Sdb, /* sdb */ - ncm::SystemProgramId::Migration, /* migration */ ncm::SystemProgramId::Olsc, /* olsc */ ncm::SystemProgramId::Ngct, /* ngct */ }; @@ -111,7 +110,6 @@ namespace ams::boot2 { ncm::SystemProgramId::Ro, /* ro */ ncm::SystemProgramId::Profiler, /* profiler */ ncm::SystemProgramId::Sdb, /* sdb */ - ncm::SystemProgramId::Migration, /* migration */ ncm::SystemProgramId::Olsc, /* olsc */ ncm::SystemProgramId::Ngct, /* ngct */ }; @@ -484,9 +482,10 @@ namespace ams::boot2 { LaunchList(AdditionalLaunchPrograms, NumAdditionalLaunchPrograms); } - /* Prior to 12.0.0, boot2 was responsible for launching grc. */ + /* Prior to 12.0.0, boot2 was responsible for launching grc and migration. */ if (hos::GetVersion() < hos::Version_12_0_0) { LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Grc, ncm::StorageId::BuiltInSystem), 0); + LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Migration, ncm::StorageId::BuiltInSystem), 0); } /* Launch user programs off of the SD. */