boot2: update for 16.0.0
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <stratosphere/ncm/ncm_content_meta_database.hpp>
|
||||
#include <stratosphere/ncm/ncm_content_storage.hpp>
|
||||
#include <stratosphere/ncm/ncm_i_content_manager.hpp>
|
||||
#include <stratosphere/fs/fs_content_storage_id.hpp>
|
||||
|
||||
namespace ams::ncm {
|
||||
|
||||
@@ -46,6 +47,8 @@ namespace ams::ncm {
|
||||
|
||||
Result InvalidateRightsIdCache();
|
||||
|
||||
Result ActivateFsContentStorage(fs::ContentStorageId fs_content_storage_id);
|
||||
|
||||
/* Deprecated API. */
|
||||
Result CloseContentStorageForcibly(StorageId storage_id);
|
||||
Result CloseContentMetaDatabaseForcibly(StorageId storage_id);
|
||||
|
||||
@@ -151,6 +151,7 @@ namespace ams::ncm {
|
||||
Result InactivateContentMetaDatabase(StorageId storage_id);
|
||||
Result InvalidateRightsIdCache();
|
||||
Result GetMemoryReport(sf::Out<MemoryReport> out);
|
||||
Result ActivateFsContentStorage(fs::ContentStorageId fs_content_storage_id);
|
||||
};
|
||||
static_assert(IsIContentManager<ContentManagerImpl>);
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <stratosphere/ncm/ncm_i_content_storage.hpp>
|
||||
#include <stratosphere/ncm/ncm_i_content_meta_database.hpp>
|
||||
#include <stratosphere/ncm/ncm_memory_report.hpp>
|
||||
#include <stratosphere/fs/fs_content_storage_id.hpp>
|
||||
|
||||
#define AMS_NCM_I_CONTENT_MANAGER_INTERFACE_INFO(C, H) \
|
||||
AMS_SF_METHOD_INFO(C, H, 0, Result, CreateContentStorage, (ncm::StorageId storage_id), (storage_id)) \
|
||||
@@ -33,6 +34,7 @@
|
||||
AMS_SF_METHOD_INFO(C, H, 11, Result, ActivateContentMetaDatabase, (ncm::StorageId storage_id), (storage_id), hos::Version_2_0_0) \
|
||||
AMS_SF_METHOD_INFO(C, H, 12, Result, InactivateContentMetaDatabase, (ncm::StorageId storage_id), (storage_id), hos::Version_2_0_0) \
|
||||
AMS_SF_METHOD_INFO(C, H, 13, Result, InvalidateRightsIdCache, (), (), hos::Version_9_0_0) \
|
||||
AMS_SF_METHOD_INFO(C, H, 14, Result, GetMemoryReport, (sf::Out<ncm::MemoryReport> out), (out), hos::Version_10_0_0)
|
||||
AMS_SF_METHOD_INFO(C, H, 14, Result, GetMemoryReport, (sf::Out<ncm::MemoryReport> out), (out), hos::Version_10_0_0) \
|
||||
AMS_SF_METHOD_INFO(C, H, 15, Result, ActivateFsContentStorage, (fs::ContentStorageId fs_storage_id), (fs_storage_id)) /* Technically min 16.0.0, but used. */
|
||||
|
||||
AMS_SF_DEFINE_INTERFACE(ams::ncm, IContentManager, AMS_NCM_I_CONTENT_MANAGER_INTERFACE_INFO, 0xFDB4FFE1);
|
||||
|
||||
@@ -98,6 +98,7 @@ namespace ams::ncm {
|
||||
static const SystemProgramId Pgl;
|
||||
static const SystemProgramId Omm;
|
||||
static const SystemProgramId Eth;
|
||||
static const SystemProgramId Ngc;
|
||||
|
||||
static const SystemProgramId End;
|
||||
|
||||
@@ -205,6 +206,7 @@ namespace ams::ncm {
|
||||
inline constexpr const SystemProgramId SystemProgramId::Pgl = { 0x0100000000000042ul };
|
||||
inline constexpr const SystemProgramId SystemProgramId::Omm = { 0x0100000000000045ul };
|
||||
inline constexpr const SystemProgramId SystemProgramId::Eth = { 0x0100000000000046ul };
|
||||
inline constexpr const SystemProgramId SystemProgramId::Ngc = { 0x0100000000000050ul };
|
||||
|
||||
inline constexpr const SystemProgramId SystemProgramId::End = { 0x01000000000007FFul };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user