#include <revolution/wpad.h> s32 WPADGetGameTitleUtf16( s32 chan, const u16 **title );
| chan | One of the WPAD_CHANn values. |
|---|---|
| title | Pointer to the game title to register as the game data's file information. |
Returns one of the following codes.
WPAD_ERR_NONE
WPAD_ERR_INVALID
Gets the pointer to the game title string to register as the file information for the game data to be saved in the Wii Remote's internal memory. The string is encoded as UTF-16.
Do not to call this function until the WPADProbe function returns WPAD_ERR_NONE after the Wii Remote is connected or until the callback function registered using WPADSetConnectCallback is called, because information is being obtained internally.
WPAD_ERR_NONE is returned when the date and time are obtained correctly. WPAD_ERR_INVALID is returned when the file information is broken or the file has not been saved.
WPADWriteGameData
WPADReadGameData
WPADSetGameTitleUtf16
2009/02/18 Added a note on times when calling this function is prohibited.
2006/09/23 Initial version.
CONFIDENTIAL