Changes

no edit summary
Line 30: Line 30:  
=Description=
 
=Description=
 
When the input title-info programID is zero, NS will load the actual programID via [[AMNet:GetTitleIDList]]. After doing some checks with the programID, NS will then set a NS state flag to value 1, then set the programID for AppID 0x300(application) to the input programID(or the one from GetTitleIDList). A mediatype field in NS state is also set to the input mediatype value(other state fields are set at this point as well).
 
When the input title-info programID is zero, NS will load the actual programID via [[AMNet:GetTitleIDList]]. After doing some checks with the programID, NS will then set a NS state flag to value 1, then set the programID for AppID 0x300(application) to the input programID(or the one from GetTitleIDList). A mediatype field in NS state is also set to the input mediatype value(other state fields are set at this point as well).
 +
 +
With [[8.0.0-18]], NS set an u8 NS state field to value 1 when input flags bit8 is set. This is used with the PTMSYSM 0x040A0000 command code in NS, mentioned [[NCCH/Extended_Header|here]].