#include <nitro/ctrdg.h>
BOOL CTRDG_Write8( u8* address, u8 data );
BOOL CTRDG_Write16( u16* address, u16 data );
BOOL CTRDG_Write32( u32* address, u32 data );
| address | The write address. |
| data | The data to write. |
Returns a value of TRUE if the write succeeds. Returns a value of FALSE when there is no Game Pak or if the write fails.
This function writes to the Game Pak area.
CTRDG_Write8() writes 8-bit data.CTRDG_Write16() writes 16-bit data.CTRDG_Write32() writes 32-bit data.
These functions do not set the access cycle. The access cycle must be set in advance.
CTRDG_Init, CTRDG_DmaCopy*, CTRDG_CpuCopy*, CTRDG_Read*
09/17/2004 Initial version.
CONFIDENTIAL