boot2: fix tma launch when htc is disabled

This commit is contained in:
Michael Scire 2021-02-26 08:08:05 -08:00
parent 35c816d62f
commit c9015581ca

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. */