CTRDG_GetAgbGameCode


C Specification

#include <nitro/ctrdg.h>

u32 CTRDG_GetAgbGameCode( void );

Description

Returns AGB Game Pak's game code (initial code).

Returns FALSE when there is no Game Pak.

Arguments

None.

Return Values

Returns game code (initial code) when there is an AGB Game Pak. Otherwise returns FALSE.

Also, always returns FALSE after the Game Pak has been removed once.

See Also

CTRDG_Init, CTRDG_GetAgbMakerCode, CTRDG_IsAgbCartridge

Revision History

10/04/2004 Initial version