nn::applet::CTR::Initialize FunctionResult Initialize( AppletAttr appletAttr = NN_APPLET_DEFAULT_APPLET_ATTRIBUTE );
| Name | Description | |
|---|---|---|
| in | appletAttr | Options to use when initializing the applet library. |
Initializes the APPLET library.
Calling this function allows you to call other APPLET functions.
Applications must call this function. Do not call it more than once. It is usually sufficient to include this at the start of your program.
Although the appletAttr argument indicates whether there is a rendering process (among other things), as a general rule use the default argument without specifying anything.
Notes for this SDK
To start an application and bypass the HOME Menu during development, call ArrangeAppletManagerForDebug(1) after the Initialize function. (Call this immediately after the applet Initialize function.)
This function is used to change the internal state of the applet manager to make an application appear to be launched from the HOME Menu even if it actually was not.
This is unnecessary in a retail product and is planned to be removed from the next version even for development purposes. Nevertheless, this function will be changed to have no effect; include it for now. It will always be safe to include it.
CONFIDENTIAL