/* # _____ ___ ____ ___ ____ # ____| | ____| | | |____| # | ___| |____ ___| ____| | \ PS2DEV Open Source Project. #----------------------------------------------------------------------- # Copyright 2001-2004, ps2dev - http://www.ps2dev.org # Licenced under Academic Free License version 2.0 # Review ps2sdk README & LICENSE files for further details. */ /** * @file * PS2 ROM0 Info. * Some useful method for extracting info from ROM0 */ #ifndef __ROM0_INFO_H__ #define __ROM0_INFO_H__ #ifdef __cplusplus extern "C" { #endif /** check whether the PlayStation 2 is actually a DESR-XXXX machine * * @return 1 if DESR-XXXX machine; 0 if not */ int IsDESRMachine(void); /** check whether the PlayStation 2 is actually a TOOL DTL-T10000(H) * * @return 1 if DTL-T10000(H); 0 if not */ int IsT10K(void); /** gets the romname from the current ps2 * 14 chars - doesnt set a null terminator * * @param romname buffer to hold romname (14 chars long) * @return pointer to buffer containing romname */ char *GetRomName(char *romname); #ifdef __cplusplus } #endif #endif /* __ROM_INFO_H__ */