From 2a5d1572e1086cf9d987f80a484e1c6b3c772947 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 29 Jun 2020 04:40:01 -0700 Subject: [PATCH] libstrat: correct firmware comparison in meta database builder --- .../libstratosphere/source/ncm/ncm_content_manager_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp b/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp index 2e1f9d2a9..3f4dabcb0 100644 --- a/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp +++ b/libraries/libstratosphere/source/ncm/ncm_content_manager_impl.cpp @@ -275,7 +275,7 @@ namespace ams::ncm { } Result ContentManagerImpl::BuildContentMetaDatabase(StorageId storage_id) { - if (hos::GetVersion() <= hos::Version_4_0_0) { + if (hos::GetVersion() < hos::Version_5_0_0) { /* Temporarily activate the database. */ R_TRY(this->ActivateContentMetaDatabase(storage_id)); ON_SCOPE_EXIT { this->InactivateContentMetaDatabase(storage_id); };