PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
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
21extern "C" {
22#endif
23
24typedef 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;
30
35int IsDESRMachine(void);
36int IsDESRMachineWithIODriver(_io_driver *driver);
37
42int IsT10K(void);
43int IsT10KWithIODriver(_io_driver *driver);
44
51char *GetRomName(char *romname);
52char *GetRomNameWithIODriver(char *romname, _io_driver *driver);
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* __ROM_INFO_H__ */
char * GetRomName(char *romname)
int IsDESRMachine(void)
int IsT10K(void)