1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-20 14:03:25 +01:00

boot2: don't wait for bpc.mitm on mariko

This commit is contained in:
Michael Scire 2020-11-14 10:40:40 -08:00
parent f2c553be1a
commit 43ef260c66

View file

@ -352,10 +352,12 @@ namespace ams::boot2 {
/* Wait for other atmosphere mitm modules to initialize. */ /* Wait for other atmosphere mitm modules to initialize. */
R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("set:sys"))); R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("set:sys")));
if (hos::GetVersion() >= hos::Version_2_0_0) { if (spl::GetSocType() == spl::SocType_Erista) {
R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc"))); if (hos::GetVersion() >= hos::Version_2_0_0) {
} else { R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc")));
R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc:c"))); } else {
R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc:c")));
}
} }
/* Launch Atmosphere boot2, using NcmStorageId_None to force SD card boot. */ /* Launch Atmosphere boot2, using NcmStorageId_None to force SD card boot. */