Changes

6 bytes removed ,  05:01, 9 February 2018
lol
Line 246: Line 246:  
| 9 || AreMetaRecordsPresent || Takes a type-5 buffer containing [[NCA#Meta_records|Meta Records]] (code assumes there are size/sizeof(meta_record) records in the buffer), and returns whether all of those records are present in the database.
 
| 9 || AreMetaRecordsPresent || Takes a type-5 buffer containing [[NCA#Meta_records|Meta Records]] (code assumes there are size/sizeof(meta_record) records in the buffer), and returns whether all of those records are present in the database.
 
|-
 
|-
| 10 || GetUpdateTitleId || Takes a [[NCA#Meta_records|Meta Record]], and returns the update title id for that record.
+
| 10 || GetBaseTitleId || Takes a [[NCA#Meta_records|Meta Record]], and returns the base title id for that record.
 
|-
 
|-
 
| 11 || || Takes a 0x10-sized entry. Returns a u32.
 
| 11 || || Takes a 0x10-sized entry. Returns a u32.
Line 271: Line 271:  
Each 24-byte entry is as follows:
 
Each 24-byte entry is as follows:
 
   [[NCA#Meta_records|meta_record]] meta_record;
 
   [[NCA#Meta_records|meta_record]] meta_record;
   u64    update_title_id;
+
   u64    base_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 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.