boot2: fix tma launch when htc is disabled

This commit is contained in:
Michael Scire 2021-02-26 08:08:05 -08:00
parent cc84810ddc
commit 5b4765a3e6

View File

@ -387,7 +387,7 @@ namespace ams::boot2 {
if (svc::IsKernelMesosphere() && IsHtcEnabled()) {
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Htc, ncm::StorageId::None), 0);
} else {
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Tma, ncm::StorageId::None), 0);
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Tma, ncm::StorageId::BuiltInSystem), 0);
}
/* Launch additional programs. */