#include <revolution/discnand.h>
void OSLaunchInstaller(u32 launchCode, u16* gameTitleName, OSInstallInfo* info);
launchCode |
Launch code that can be referenced once the process has returned from the channel installer. |
gameTitleName |
Pointer to the character string (UTF-16BE) that indicates the title of the game. |
info |
Pointer to the array of file information that is passed to the channel installer for installation. NULL must be assigned to the member that is the final entry of this array. |
None.
Executes the channel installer. If successful, the function does not return.
If the installer ends and the process has returned to the application from the channel installer, you can call OSGetLaunchCode to reference the launch code specified in launchCode.
The gameTitleName argument specifies the title name of the application that originated the function call. This is used for display purposes inside the channel installer. Characters are encoded in UTF-16BE, which is Revolution's internal character encoding.
There is no support for OSSetSaveRegion.
The controllers are not recalibrated during execution sequences.
The OSLaunchInstaller function will return execution to the system menu if the game disc cannot be read during an execution sequence for any reason (no disc, retry error, fatal error, wrong error, and so on), or if an non-recoverable error occurs during the installation sequence. For this reason, you should save any unsaved data before making the call to OSLaunchInstaller.
2009/10/16 Changed the include file.
2008/10/30 Revised the text.
2007/04/20 Initial version.
CONFIDENTIAL