SCInit

Syntax

#include <revolution/sc.h>

void SCInit(void);

Arguments

None.

Return Values

None.

Description

From RevolutionSDK 2.2 on, initialization has been integrated into the OSInit function. Initialization by applications is no longer necessary.

The initialization process described below is required for versions of Revolution SDK older than 2.2. However, there is no problem executing this initialization process under Revolution SDK 2.2 or later.

Initializes the SC library. Call this function once before using the library. This function can be called any number of times.

This function starts the initialization process in the background. This allows applications to efficiently carry out other initialization processes while console settings saved in internal flash memory are being loaded into RAM.

For this reason, initialization is not complete when control returns from this function. Be sure to call the SCCheckStatus function repeatedly to confirm that the return value is SC_STATUS_OK. No matter how much time has elapsed since the SCInit function was called, the SCCheckStatus function must be called at least once to complete the initialization process.

Other SC library functions cannot be called until initialization is complete.

This function automatically calls the NANDInit function.

See Also

SCCheckStatus, NANDInit

Revision History

2006/09/06 Revised the description along with integration of the initialization process in the OSInit function.
2006/05/29 Initial version.


CONFIDENTIAL