#include <nitro/ctrdg.h>
BOOL CTRDG_Read8( const u8* address, u8* rdata );
BOOL CTRDG_Read16( const u16* address, u16* rdata );
BOOL CTRDG_Read32( const u32* address, u32* rdata );
address | The read address. |
rdata | The pointer that stores the read data. |
Returns TRUE
if the read succeeds. Returns FALSE
when there is no Game Pak or if the Game Pak could not be read.
These functions read data from the Game Pak.
CTRDG_Read8()
reads 8-bit data.CTRDG_Read16()
reads 16-bit data.CTRDG_Read32()
reads 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_Write*
09/17/2004 Initial version.