mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
boot2: don't wait for bpc.mitm on mariko
This commit is contained in:
parent
f2c553be1a
commit
43ef260c66
1 changed files with 6 additions and 4 deletions
|
@ -352,11 +352,13 @@ 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 (spl::GetSocType() == spl::SocType_Erista) {
|
||||||
if (hos::GetVersion() >= hos::Version_2_0_0) {
|
if (hos::GetVersion() >= hos::Version_2_0_0) {
|
||||||
R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc")));
|
R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc")));
|
||||||
} else {
|
} else {
|
||||||
R_ABORT_UNLESS(sm::mitm::WaitMitm(sm::ServiceName::Encode("bpc:c")));
|
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. */
|
||||||
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Boot2, ncm::StorageId::None), 0);
|
LaunchProgram(nullptr, ncm::ProgramLocation::Make(ncm::SystemProgramId::Boot2, ncm::StorageId::None), 0);
|
||||||
|
|
Loading…
Reference in a new issue