mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-27 13:32:43 +02:00
libstrat: correct firmware comparison in meta database builder
This commit is contained in:
parent
7de919f3df
commit
52088109b7
@ -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); };
|
||||
|
Loading…
Reference in New Issue
Block a user