From 1521432ff3d57737dbbc2d2efc612c001d57bcfd Mon Sep 17 00:00:00 2001 From: clamintus <44071820+clamintus@users.noreply.github.com> Date: Sun, 29 May 2022 15:51:35 +0200 Subject: [PATCH] Don't ever disable nx-ovlloader sysmodule --- source/utils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/utils.cpp b/source/utils.cpp index 2707ab8a..a3f3ea55 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -302,7 +302,8 @@ namespace util { void removeSysmodulesFlags(const std::string& directory) { for (const auto& e : std::filesystem::recursive_directory_iterator(directory)) { - if (e.path().string().find("boot2.flag") != std::string::npos) { + if (e.path().string().find("boot2.flag") != std::string::npos && + e.path().string().find("420000000007E51A") == std::string::npos) { std::filesystem::remove(e.path()); } }