OSGetFontEncode

Syntax

#include <revolution/os.h>

#define OS_FONT_ENCODE_ANSI     0u
#define OS_FONT_ENCODE_SJIS     1u

u16 OSGetFontEncode(void);

Arguments

None.

Return Values

OS_FONT_ENCODE_ANSI for non-Japanese Wii consoles.
OS_FONT_ENCODE_SJIS for Japanese Wii consoles (including JP mode development hardware).

Description

Checks the method of encoding character fonts, based on the Wii console type. Only Japanese Wii consoles (including JP mode development hardware) return OS_FONT_ENCODE_SJIS. Based on this information, OS font functions switch the font image.

See Also

Font Functions

Revision History

2006/03/01 Initial version.


CONFIDENTIAL