pm: NotifyBootFinished no longer changes program verification

This commit is contained in:
hexkyz committed 2026-09-21 21:33:12 +01:00
1 parent 1de771e264
commit 82f15b6e5d
1 file changed
+3
@@ -480,6 +480,8 @@ namespace ams::pm::impl {
Result NotifyBootFinished() { Result NotifyBootFinished() {
AMS_FUNCTION_LOCAL_STATIC_CONSTINIT(bool, s_has_boot_finished, false); AMS_FUNCTION_LOCAL_STATIC_CONSTINIT(bool, s_has_boot_finished, false);
if (!s_has_boot_finished) { if (!s_has_boot_finished) {
/* 23.0.0+ removed this and all usage of spl from the pm sysmodule, both in normal and safe mode FIRM. */
if (hos::GetVersion() < hos::Version_23_0_0) {
/* Set program verification disabled, if we should. */ /* Set program verification disabled, if we should. */
/* NOTE: Nintendo does not check the result of this. */ /* NOTE: Nintendo does not check the result of this. */
if (spl::IsDisabledProgramVerification()) { if (spl::IsDisabledProgramVerification()) {
@@ -489,6 +491,7 @@ namespace ams::pm::impl {
fsprSetEnabledProgramVerification(false); fsprSetEnabledProgramVerification(false);
} }
} }
}
boot2::LaunchPreSdCardBootProgramsAndBoot2(); boot2::LaunchPreSdCardBootProgramsAndBoot2();