AM:UpdateFirmwareAuto

From 3dbrew
Revision as of 06:30, 17 April 2016 by Steveice10 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x040F0000]

Response

Index Word Description
0 Header code
1 Result code

Description

Same as AM:UpdateFirmwareTo except the titleID used here is loaded by AM module with AMPXI:GetTitleList, this titleID is NATIVE_FIRM. The titleID used here is the first titleID from the loaded title-list which is a CTR system title, where uniqueID=0. After obtaining this titleID, AM module then uses command AMPXI:GetTitleInfo, the titleID-low and title-version from this are then compared with data stored in Configuration Memory. If these title-info checks fail, AM module will return result-code 0xD8A083FA. The AMPXI:InstallFIRM command is only used if these title-info checks pass.