OS_IsCodecTwlMode

Syntax

#include <nitro/os.h>

BOOL OS_IsCodecTwlMode( void );

Arguments

None.

Return Values

TRUE indicates that the codec is running in TWL mode.

FALSE indicates that the application is running in some other mode (that is, in NITRO mode).

This function is replaced with the constant FALSE when using a NITRO-only ROM.

Description

Determines whether the codec is running in TWL mode.

This function checks the operating mode and ROM header, among others, when using a TWL/NITRO hybrid ROM or a TWL-only ROM, and then returns a value. However, when using a NITRO-only ROM, the function itself is replaced with FALSE.

See Also

OS_GetConsoleType

Revision History

2008/10/08 Initial version.


CONFIDENTIAL