CTRDG_IsPulledOut

C Specification

#include <nitro/ctrdg.h>
BOOL CTRDG_IsPulledOut( void );
  

Arguments

None.

Return Values

Returns a value of TRUE when a Game Pak is removed. Otherwise it returns a value of FALSE. This function will always return a value of FALSE after the initial removal of an Game Pak.

Description

This function detects the removal of a Game Pak. This function can be called when the cartridge bus is locked with the OS_LockCartridge function. However, when the bus is locked, the ARM7 will not perform automatic release detection processing, and thus you should periodically call CTRDG_IsExisting each game frame or other interval when the player cannot reinsert. (This function internally calls CTRDG_IsExisting.)

See Also

CTRDG_Init, CTRDG_IsExisting

Revision History

04/12/2005 Added description of cartridge bus lock
09/15/2004 Initial version