summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns/ns_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/ns/ns_types.h')
-rw-r--r--src/core/hle/service/ns/ns_types.h14
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