1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>CTRDG_IsExisting</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">CTRDG_IsExisting <IMG src="../image/NTR.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <PRE><CODE>#include <nitro/ctrdg.h></CODE></PRE> 16 <PRE><CODE>BOOL CTRDG_IsExisting( void ); 17 </CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<P>None.</P> 21<H2>Return Values</H2> 22<P>Returns a value of TRUE if there is a Game Pak. Otherwise, it returns a value of FALSE. This function will always return a value of FALSE after the initial removal of a Game Pak.</P> 23<H2>Description</H2> 24<P>This function checks whether a Game Pak is inserted. When the bus is locked, the ARM7 will not perform automatic removal detection processing, and thus you should periodically call <code><A href="CTRDG_IsExisting.html">CTRDG_IsExisting</A></code> each game frame or other interval when the player cannot reinsert. 25</P> 26 27<H2>See Also</H2> 28<P><A href="CTRDG_Init.html"><code>CTRDG_Init</code></A>, <A href="CTRDG_IsPulledOut.html"><code>CTRDG_IsPulledOut</code></A><BR></P> 29<H2>Revision History</H2> 30<P> 312005/04/12 Added description of cartridge bus lock.<br /> 2004/09/15 Initial version. </P> 32<hr><p>CONFIDENTIAL</p></body> 33</HTML> 34