PS2SDK
PS2 Homebrew Libraries
rom0_info.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
17
#ifndef __ROM0_INFO_H__
18
#define __ROM0_INFO_H__
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
typedef
struct
{
25
int (*open)(
const
char
*name,
int
flags, ...);
26
int (*close)(
int
fd);
27
int (*read)(
int
fd,
void
*buf,
int
nbyte);
28
int
openFlags;
29
}
_io_driver
;
30
31
extern
void
SetupRomInfo(
void
);
32
37
extern
int
IsDESRMachine
(
void
);
38
static
inline
int
IsDESRMachineWithIODriver(
const
_io_driver
*driver) {
return
IsDESRMachine
(); }
39
44
extern
int
IsT10K
(
void
);
45
static
inline
int
IsT10KWithIODriver(
const
_io_driver
*driver) {
return
IsT10K
(); }
46
53
extern
char
*
GetRomName
(
char
*romname);
54
static
inline
char
*GetRomNameWithIODriver(
char
*romname,
const
_io_driver
*driver) {
return
GetRomName
(romname); }
55
56
#ifdef __cplusplus
57
}
58
#endif
59
60
#endif
/* __ROM_INFO_H__ */
IsDESRMachine
int IsDESRMachine(void)
GetRomName
char * GetRomName(char *romname)
IsT10K
int IsT10K(void)
_io_driver
Definition:
rom0_info.h:24
ee
kernel
include
rom0_info.h
Generated on Wed Jul 1 2026 17:34:25 for PS2SDK by
1.8.17