WPADGetGameTitle

C Specification

#include <revolution/wpad.h>

s32 WPADGetGameTitle( s32 chan, const char **title );

Arguments

chan One of WPAD_CHANn values.
title Pointer to the game title to register as the game data's file information.

Return Values

Returns one of the following codes:

WPAD_ERR_NONE
WPAD_ERR_INVALID

Description

Gets the pointer to the game title string to register as the file infomation for the game data to be saved in the Wii Remote's internal memory.

WPAD_ERR_NONE is returned when the date and time are gotten correctly. WPAD_ERR_INVALID is returned when the file information is broken or the file has not been saved.

See Also

WPAD Functions
WPADWriteGameData
WPADReadGameData
WPADSetGameTitle
WPADSetGameTitleWChar

Revision History

08/15/2005 Initial version.


CONFIDENTIAL