#include <nitro/ctrdg.h>
BOOL CTRDG_IsPulledOut( void );
None.
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.
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, while the bus is locked, the ARM7 does not detect removal automatically, so call the CTRDG_IsExisting
function at regular intervals, such as each game frame, during which the player cannot perform a re-insert operation. (This function internally calls the CTRDG_IsExisting
function.)
2005/04/12 Added description of cartridge bus lock.
2004/09/15 Initial version.
CONFIDENTIAL