# CTRDG_CheckEnabled

## Syntax

  `#include <nitro/ctrdg.h>`
  `void CTRDG_CheckEnabled(void);`

## Arguments

None.

## Return Values

None.

## Description

This function checks access permission status to determine whether access to the AGB Game Pak is enabled. The program will forcibly halt if an attempt is made to access the AGB Game Pak while access is disabled. Note that this access permission does not apply to direct AGB Game Pak operations that do not use the CTRDG library. To learn more about functions that to which this access permission applies, see the `CTRDG_Enable` function reference page.
By default, the access permission status is set to `FALSE`; to change it, use the `CTRDG_Enable` function.

## See Also

CTRDG_Init
CTRDG_Enable
CTRDG_IsEnabled

## Revision History

2005/12/01 Initial version.

CONFIDENTIAL