NCM services: Difference between revisions
IContentMetaDatabase->GetMetaRecord(); |
GetTitleUpdateRecords |
||
Line 240: | Line 240: | ||
| 6 || GetMetaRecord || Takes a u64 title id, and returns the [[NCA#Meta_records|Meta Record]] with the highest version field for that title id. | | 6 || GetMetaRecord || Takes a u64 title id, and returns the [[NCA#Meta_records|Meta Record]] with the highest version field for that title id. | ||
|- | |- | ||
| 7 || [[# | | 7 || [[#GetTitleUpdateRecords]] || | ||
|- | |- | ||
| 8 || || Takes a 0x10-sized entry. Returns a bool/u8. | | 8 || || Takes a 0x10-sized entry. Returns a bool/u8. | ||
Line 268: | Line 268: | ||
==== | ==== GetTitleUpdateRecords ==== | ||
Each 24-byte | Each 24-byte entry is as follows: | ||
[[NCA#Meta_records|meta_record]] meta_record; | |||
u64 update_title_id; | |||
This function takes in a type 6 buffer to write entries to, and a u8 "filter" [[#Title_Types|type]]. If filter is zero, all update records will be copied to to the output buffer (space permitting). Otherwise, only titles with type == filter_type will be copied to the output buffer. | |||
This func returns a u32 num_entries_written, and a u32 num_entries_total. | |||