From 6e2d435b6ba53cb839cf3c9c0998da41657fa488 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 22 Feb 2023 15:29:04 -0700 Subject: [PATCH] ncm: fix inversion in activation skipping --- .../libstratosphere/source/ncm/ncm_content_manager_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp b/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp index d8ac815ca..655a2cba1 100644 --- a/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp +++ b/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp @@ -235,7 +235,7 @@ namespace ams::ncm { auto &root = m_roots[i]; /* If we should, skip. */ - if (!root.config.has_value() || root.config->skip_activate) { + if (root.config.has_value() && root.config->skip_activate) { continue; } @@ -473,7 +473,7 @@ namespace ams::ncm { auto &root = m_roots[i]; /* If we should, skip. */ - if (!root.storage_config.has_value() || root.storage_config->skip_activate) { + if (root.storage_config.has_value() && root.storage_config->skip_activate) { continue; }