boot2: update for 16.0.0
This commit is contained in:
@@ -114,6 +114,10 @@ namespace ams::ncm {
|
||||
R_RETURN(g_content_manager->InvalidateRightsIdCache());
|
||||
}
|
||||
|
||||
Result ActivateFsContentStorage(fs::ContentStorageId fs_content_storage_id) {
|
||||
R_RETURN(g_content_manager->ActivateFsContentStorage(fs_content_storage_id));
|
||||
}
|
||||
|
||||
/* Deprecated API. */
|
||||
Result CloseContentStorageForcibly(StorageId storage_id) {
|
||||
AMS_ABORT_UNLESS(hos::GetVersion() == hos::Version_1_0_0);
|
||||
|
||||
@@ -675,6 +675,12 @@ namespace ams::ncm {
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Result ContentManagerImpl::ActivateFsContentStorage(fs::ContentStorageId fs_content_storage_id) {
|
||||
/* TODO */
|
||||
AMS_UNUSED(fs_content_storage_id);
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Result ContentManagerImpl::GetMemoryReport(sf::Out<MemoryReport> out) {
|
||||
/* Populate content meta resource states. */
|
||||
MemoryReport report = {
|
||||
|
||||
@@ -99,6 +99,10 @@ namespace ams::ncm {
|
||||
AMS_UNUSED(out);
|
||||
AMS_ABORT();
|
||||
}
|
||||
|
||||
Result ActivateFsContentStorage(fs::ContentStorageId fs_content_storage_id) {
|
||||
R_RETURN(::ncmActivateFsContentStorage(static_cast<::FsContentStorageId>(util::ToUnderlying(fs_content_storage_id))));
|
||||
}
|
||||
};
|
||||
static_assert(ncm::IsIContentManager<RemoteContentManagerImpl>);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user