#include <revolution/wpad.h> #define WPAD_CHAN0 0 #define WPAD_CHAN1 1 #define WPAD_CHAN2 2 #define WPAD_CHAN3 3 BOOL WPADDetachDummyExtension( s32 chan );
| chan | One of the WPAD_CHANn values. |
|---|
If the device type is restored successfully to WPAD_DEV_CORE, returns TRUE; otherwise, returns FALSE.
For the Wii Remote on the specified channel, changes the device type to WPAD_DEV_CORE. If the device type has been changed with the WPADAttachDummyExtension function, use this function to restore the device type to its original status.
Because this function is used for debugging applications, it works only with the debug version library. It does not work with the release version library, where FALSE is always the return value.
2007/05/02 Changed so that FALSE is always returned with the release version.
2007/04/18 Initial version.
CONFIDENTIAL