NCM services: Difference between revisions
IContentMetaDatabase is basically IContentIMKVCacheManager.... |
Commands 0-3 |
||
| Line 224: | Line 224: | ||
! Cmd || Name || Notes | ! Cmd || Name || Notes | ||
|- | |- | ||
| 0 || | | 0 || InsertContentRecords || Takes a [[NCA#Meta_records|Meta Record]], a type-5 [[NCA#Content_records|Content Records]] buffer and a u64 size. | ||
|- | |- | ||
| 1 || || Takes a | | 1 || ReadContentRecords || Takes a [[NCA#Meta_records|Meta Record]], a type-6 buffer to write [[NCA#Content_records|Content Records]] to and a u64 size. Returns the actual Content Records size read. | ||
|- | |- | ||
| 2 || || Takes a | | 2 || RemoveContentRecords || Takes a [[NCA#Meta_records|Meta Record]], and removes the associated record. | ||
|- | |- | ||
| 3 || | | 3 || GetContentNcaId || Takes a [[NCA#Meta_records|Meta Record]] and a u8 [[#Title_Types|Title Type]]. Returns a [[#NcaID]]. | ||
|- | |- | ||
| 4 || || Takes a type-6 buffer, each entry being 24 bytes, 0x10-sized entry and a u32. Returns a u32. | | 4 || || Takes a type-6 buffer, each entry being 24 bytes, 0x10-sized entry and a u32. Returns a u32. | ||