Changes

417 bytes added ,  10:42, 9 January 2022
Some cmd corrections
Line 400: Line 400:  
| 2 || Remove || Takes a [[#ContentMetaKey]], and removes the associated record.
 
| 2 || Remove || Takes a [[#ContentMetaKey]], and removes the associated record.
 
|-
 
|-
| 3 || GetContentIdByType || Takes a [[#ContentMetaKey]] and a u8 [[#ContentMetaType]]. Returns a [[#ContentId]].
+
| 3 || GetContentIdByType || Takes a [[#ContentMetaKey]] and a u8 [[#ContentType]]. Returns a [[#ContentId]].
 
|-
 
|-
 
| 4 || ListContentInfo || Takes a type-6 buffer to write [[CNMT#Content_Records|Content Record]] entries to, a [[#ContentMetaKey]], and a s32 index into the Content Record entries to start copying from. Returns a s32 entries_read.
 
| 4 || ListContentInfo || Takes a type-6 buffer to write [[CNMT#Content_Records|Content Record]] entries to, a [[#ContentMetaKey]], and a s32 index into the Content Record entries to start copying from. Returns a s32 entries_read.
Line 434: Line 434:  
| 19 || [2.0.0+] GetRequiredApplicationVersion || Does the same thing as GetRequiredSystemVersion, but for AddOnContents.
 
| 19 || [2.0.0+] GetRequiredApplicationVersion || Does the same thing as GetRequiredSystemVersion, but for AddOnContents.
 
|-
 
|-
| 20 || [5.0.0+] GetContentIdByTypeAndIdOffset ||
+
| 20 || [5.0.0+] GetContentIdByTypeAndIdOffset || Takes a [[#ContentMetaKey]], a u8 [[#ContentType]] and a u8 id_offset. Returns a [[#ContentId]].
 
|-
 
|-
| 21 || [10.0.0+] GetCount ||
+
| 21 || [10.0.0+] GetCount || Returns a u32 count.
 
|-
 
|-
| 22 || [10.0.0+] GetOwnerApplicationId ||
+
| 22 || [10.0.0+] GetOwnerApplicationId || Takes a [[#ContentMetaKey]]. Returns a [[#ApplicationId]].
 
|}
 
|}
   Line 644: Line 644:  
| 0x83
 
| 0x83
 
| Delta
 
| Delta
 +
|}
 +
 +
== ContentType ==
 +
This is "nn::ncm::ContentType"
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Value
 +
! Description
 +
|-
 +
| 0
 +
| Meta
 +
|-
 +
| 1
 +
| Program
 +
|-
 +
| 2
 +
| Data
 +
|-
 +
| 3
 +
| Control
 +
|-
 +
| 4
 +
| HtmlDocument
 +
|-
 +
| 5
 +
| LegalInformation
 +
|-
 +
| 6
 +
| DeltaFragment
 
|}
 
|}
  
17

edits