PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
rom0_info.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _io_driver
 

Functions

int IsDESRMachine (void)
 
int IsDESRMachineWithIODriver (_io_driver *driver)
 
int IsT10K (void)
 
int IsT10KWithIODriver (_io_driver *driver)
 
char * GetRomName (char *romname)
 
char * GetRomNameWithIODriver (char *romname, _io_driver *driver)
 

Detailed Description

PS2 ROM0 Info. Some useful method for extracting info from ROM0

Definition in file rom0_info.h.

Function Documentation

◆ IsDESRMachine()

int IsDESRMachine ( void  )

check whether the PlayStation 2 is actually a DESR-XXXX machine

Returns
1 if DESR-XXXX machine; 0 if not

◆ IsT10K()

int IsT10K ( void  )

check whether the PlayStation 2 is actually a TOOL DTL-T10000(H)

Returns
1 if DTL-T10000(H); 0 if not

◆ GetRomName()

char * GetRomName ( char *  romname)

gets the romname from the current ps2 14 chars - doesnt set a null terminator

Parameters
romnamebuffer to hold romname (14 chars long)
Returns
pointer to buffer containing romname

Referenced by graph_get_region(), and graph_set_mode().