mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-22 12:34:47 +00:00
ncm: Fix logic inversion
This commit is contained in:
parent
bdedab0aff
commit
fb44433715
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ namespace ams::ncm {
|
|||
|
||||
Result ContentMetaDatabaseInterface::GetPatchId(sf::Out<ProgramId> 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;
|
||||
|
|
Loading…
Add table
Reference in a new issue