WPADRegisterBLCWorkarea

Syntax

#include <revolution/wpadBalance.h>

#define WPAD_BLCINT_WORK_LEN        307200

void WPADRegisterBLCWorkarea( void *workarea );

Arguments

workarea Work buffer required for sharing Wii Balance Board pairing information with the Japanese version of WiiFit. Be sure to configure a 32-byte aligned buffer with a size of at least WPAD_BLCINT_WORK_LEN.

Return Values

None.

Description

Configures a work buffer in the library. The buffer is required for sharing Wii Balance Board pairing information with the Japanese version of WiiFit. Be sure to configure a 32-byte aligned buffer with a size of at least WPAD_BLCINT_WORK_LEN. The configured buffer is used during library initialization but not after initialization is complete. This buffer can thus be freed after the WPADGetStatus function has returned WPAD_STATE_SETUP. When freeing the buffer, always confirm that the return value of the WPADGetStatus function is WPAD_STATE_SETUP.

This function only needs to be called for applications intended for Japan. Applications intended for markets other than Japan are not required to call this function.

See Also

WPADGetStatus

Revision History

2008/08/27 Added a note regarding releasing the buffer.
2008/02/01 Initial version.


CONFIDENTIAL