libstrat: correct firmware comparison in meta database builder

This commit is contained in:
Michael Scire 2020-06-29 04:40:01 -07:00
parent f7f284e5c0
commit 2a5d1572e1

View file

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