diff --git a/stratosphere/ncm/source/ncm_content_meta_database.cpp b/stratosphere/ncm/source/ncm_content_meta_database.cpp index 6c959353c..75b53bdac 100644 --- a/stratosphere/ncm/source/ncm_content_meta_database.cpp +++ b/stratosphere/ncm/source/ncm_content_meta_database.cpp @@ -381,7 +381,7 @@ namespace ams::ncm { Result ContentMetaDatabaseInterface::GetPatchId(sf::Out out_patch_id, ContentMetaKey key) { R_TRY(this->EnsureEnabled()); - R_UNLESS(key.type != ContentMetaType::Application, ncm::ResultInvalidContentMetaKey()); + R_UNLESS(key.type == ContentMetaType::Application, ncm::ResultInvalidContentMetaKey()); const void* value = nullptr; size_t value_size = 0;