*/
Result AM_DeleteAppTitle(u8 mediatype, u64 titleID);
-/* AM_InstallFIRM()
-About: Installs FIRM to NAND (firm0:/ & firm1:/) from a CXI
-Note: The title must have the uniqueid: 0x00000, otherwise this will fail.
-
- titleid title id of title
+/* AM_InstallNativeFirm()
+About: Installs NATIVE_FIRM to NAND (firm0:/ & firm1:/) from a CXI
*/
-Result AM_InstallFIRM(u64 titleID);
+Result AM_InstallNativeFirm();
/* AM_GetTitleProductCode()
About: Gets the product code of a title based on its title id.
return (Result)cmdbuf[1];
}
-Result AM_InstallFIRM(u64 titleID)
+Result AM_InstallNativeFirm()
{
Result ret = 0;
u32 *cmdbuf = getThreadCommandBuffer();
- cmdbuf[0] = 0x04010080;
- cmdbuf[1] = titleID & 0xffffffff;
- cmdbuf[2] = (u32)(titleID >> 32);
+ cmdbuf[0] = 0x040F0000;
if((ret = svcSendSyncRequest(amHandle))!=0) return ret;