From 52088109b704ef52c6e98f8776aedb1e6a5259fc 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/libstratosphere/source/ncm/ncm_content_manager_impl.cpp b/libstratosphere/source/ncm/ncm_content_manager_impl.cpp index 2e1f9d2a..3f4dabcb 100644 --- a/libstratosphere/source/ncm/ncm_content_manager_impl.cpp +++ b/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); };