ncm: fix inversion in activation skipping

This commit is contained in:
Michael Scire 2023-02-22 15:29:04 -07:00
parent 605206bb97
commit 6e2d435b6b

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