ncm: fix inversion in activation skipping

This commit is contained in:
Michael Scire 2023-02-22 15:29:04 -07:00
parent f4a976c2c7
commit 7a77f2ac8d

View File

@ -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;
}