ncm: fix inversion in activation skipping

This commit is contained in:
Michael Scire 2023-02-22 15:29:04 -07:00 committed by SciresM
parent f7915c2c05
commit bbcee8c77c

View file

@ -235,7 +235,7 @@ namespace ams::ncm {
auto &root = m_roots[i]; auto &root = m_roots[i];
/* If we should, skip. */ /* If we should, skip. */
if (!root.config.has_value() || root.config->skip_activate) { if (root.config.has_value() && root.config->skip_activate) {
continue; continue;
} }
@ -473,7 +473,7 @@ namespace ams::ncm {
auto &root = m_roots[i]; auto &root = m_roots[i];
/* If we should, skip. */ /* 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; continue;
} }