From 82f15b6e5d74cfe0ce40cc179a1bd237fa7b4463 Mon Sep 17 00:00:00 2001 From: hexkyz Date: Mon, 21 Sep 2026 21:33:12 +0100 Subject: [PATCH] pm: NotifyBootFinished no longer changes program verification --- .../pm/source/impl/pm_process_manager.cpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/stratosphere/pm/source/impl/pm_process_manager.cpp b/stratosphere/pm/source/impl/pm_process_manager.cpp index dc1fbbdf2..95922c979 100644 --- a/stratosphere/pm/source/impl/pm_process_manager.cpp +++ b/stratosphere/pm/source/impl/pm_process_manager.cpp @@ -480,13 +480,16 @@ namespace ams::pm::impl { Result NotifyBootFinished() { AMS_FUNCTION_LOCAL_STATIC_CONSTINIT(bool, s_has_boot_finished, false); if (!s_has_boot_finished) { - /* Set program verification disabled, if we should. */ - /* NOTE: Nintendo does not check the result of this. */ - if (spl::IsDisabledProgramVerification()) { - if (hos::GetVersion() >= hos::Version_10_0_0) { - ldr::pm::SetEnabledProgramVerification(false); - } else { - fsprSetEnabledProgramVerification(false); + /* 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. */ + /* NOTE: Nintendo does not check the result of this. */ + if (spl::IsDisabledProgramVerification()) { + if (hos::GetVersion() >= hos::Version_10_0_0) { + ldr::pm::SetEnabledProgramVerification(false); + } else { + fsprSetEnabledProgramVerification(false); + } } }