diff options
author | Liam <byteslice@airmail.cc> | 2024-02-17 18:00:15 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-18 16:32:21 +0100 |
commit | 04887953ff98ad4c10bcbffd13dc44480fa48592 (patch) | |
tree | e2a82f896b03907028915da909efda07246ad6c1 /src/core/hle/service/ns/ns_types.h | |
parent | ns: move IFactoryResetInterface (diff) | |
download | yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.gz yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.bz2 yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.lz yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.xz yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.tar.zst yuzu-04887953ff98ad4c10bcbffd13dc44480fa48592.zip |
Diffstat (limited to 'src/core/hle/service/ns/ns_types.h')
-rw-r--r-- | src/core/hle/service/ns/ns_types.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/core/hle/service/ns/ns_types.h b/src/core/hle/service/ns/ns_types.h index 1b97ac816..b39181856 100644 --- a/src/core/hle/service/ns/ns_types.h +++ b/src/core/hle/service/ns/ns_types.h @@ -4,6 +4,7 @@ #pragma once #include "common/common_funcs.h" +#include "core/file_sys/romfs_factory.h" namespace Service::NS { @@ -59,4 +60,17 @@ struct ApplicationViewWithPromotionInfo { PromotionInfo promotion; ///< \ref NsPromotionInfo }; +struct ApplicationOccupiedSizeEntity { + FileSys::StorageId storage_id; + u64 app_size; + u64 patch_size; + u64 aoc_size; +}; +static_assert(sizeof(ApplicationOccupiedSizeEntity) == 0x20, + "ApplicationOccupiedSizeEntity has incorrect size."); + +struct ApplicationOccupiedSize { + std::array<ApplicationOccupiedSizeEntity, 4> entities; +}; + } // namespace Service::NS |