CARD_GetRomHeader

C Specification

#include <nitro/card.h>

const u8* CARD_GetRomHeader(void);

Arguments

None.

Return Values

Returns the pointer to the buffer storing the information that is registered in the ROM of the inserted NITRO-CARD. This pointer can be cast as the pointer to the CARDRomHeader structure.
The contents of this buffer cannot be changed.

Description

Gets the information registered in the ROM of the NITRO-CARD inserted in the NITRO hardware This function lets a program that booted from a wireless download identify the contents of the NITRO-CARD inserted in the parent. Normally, the information retrieved by calling this function is the same as that stored for the program itself at the HW_ROM_HEADER_BUF address
Note that correct information can be obtained only with the actual production Nintendo DS console. It will not work with IS-NITRO-EMULATOR.

Revision History

08/25/2006 Added note that correct information can be obtained only with production console.
06/22/2006 Added note that the return value may be cast to CARDRomHeader structure.
10/18/2004 Initial version.


CONFIDENTIAL