From 43ef260c665ac855d5ce0f712a842585be2eee46 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 14 Nov 2020 10:40:40 -0800 Subject: [PATCH] boot2: don't wait for bpc.mitm on mariko --- libraries/libstratosphere/source/boot2/boot2_api.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libraries/libstratosphere/source/boot2/boot2_api.cpp b/libraries/libstratosphere/source/boot2/boot2_api.cpp index 4f4cda01a..ad56ffac0 100644 --- a/libraries/libstratosphere/source/boot2/boot2_api.cpp +++ b/libraries/libstratosphere/source/boot2/boot2_api.cpp @@ -352,10 +352,12 @@ namespace ams::boot2 { /* Wait for other atmosphere mitm modules to initialize. */ R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("set:sys"))); - if (hos::GetVersion() >= hos::Version_2_0_0) { - R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc"))); - } else { - R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc:c"))); + if (spl::GetSocType() == spl::SocType_Erista) { + if (hos::GetVersion() >= hos::Version_2_0_0) { + R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc"))); + } else { + R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc:c"))); + } } /* Launch Atmosphere boot2, using NcmStorageId_None to force SD card boot. */