AM:EndImportProgram

Request

Index Word Description
0 Header code [0x04050002]
1 Value 0x10
2 CIA filehandle

Response

Index Word Description
0 Header code
1 Result code

Description

Executes the function for AM:CloseCIA, then uses AM:FinalizeTitlesInstall for this title. For AM:FinalizeTitlesInstall, this loads the mediatype from the AM module CIA object-state, the second u8 for that command is set to value 1.