From c9015581caa4bd2cd2176992c3c939791630c83e Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 26 Feb 2021 08:08:05 -0800 Subject: [PATCH] boot2: fix tma launch when htc is disabled --- libraries/libstratosphere/source/boot2/boot2_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/source/boot2/boot2_api.cpp b/libraries/libstratosphere/source/boot2/boot2_api.cpp index 671ad4996..a9bddc42e 100644 --- a/libraries/libstratosphere/source/boot2/boot2_api.cpp +++ b/libraries/libstratosphere/source/boot2/boot2_api.cpp @@ -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. */