diff --git a/libraries/libstratosphere/source/ncm/ncm_api.cpp b/libraries/libstratosphere/source/ncm/ncm_api.cpp index ca392ab6a..4432b76c1 100644 --- a/libraries/libstratosphere/source/ncm/ncm_api.cpp +++ b/libraries/libstratosphere/source/ncm/ncm_api.cpp @@ -88,10 +88,14 @@ namespace ams::ncm { } Result ActivateContentMetaDatabase(StorageId storage_id) { + /* On < 2.0.0, this command doesn't exist, and databases are activated as needed on open. */ + R_SUCCEED_IF(hos::GetVersion() < hos::Version_2_0_0); return g_content_manager->ActivateContentMetaDatabase(storage_id); } Result InactivateContentMetaDatabase(StorageId storage_id) { + /* On < 2.0.0, this command doesn't exist. */ + R_SUCCEED_IF(hos::GetVersion() < hos::Version_2_0_0); return g_content_manager->InactivateContentMetaDatabase(storage_id); }