mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2026-06-05 19:56:57 +00:00
Merge pull request #2811 from ZachyCatGames/patch-1
pgl: GetHostContentMetaInfo returns a ncm::ContentMetaType
This commit is contained in:
commit
15c434f185
@ -41,7 +41,8 @@ namespace ams::pgl {
|
||||
u32 version;
|
||||
ncm::ContentType content_type;
|
||||
u8 id_offset;
|
||||
u8 reserved_0E[2];
|
||||
ncm::ContentMetaType content_meta_type;
|
||||
u8 reserved_0F;
|
||||
|
||||
static constexpr ContentMetaInfo Make(u64 id, u32 version, ncm::ContentType content_type, u8 id_offset) {
|
||||
return {
|
||||
|
||||
@ -349,6 +349,7 @@ namespace ams::pgl::srv {
|
||||
.version = reader.GetProgramVersion(),
|
||||
.content_type = ncm::ContentType::Program,
|
||||
.id_offset = reader.GetProgramIndex(),
|
||||
.content_meta_type = reader.GetContentMetaType(),
|
||||
};
|
||||
|
||||
R_SUCCEED();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user