Create Xref-Html Frames Remove All Frames
file:/home/jivera/wd/pcsx/Misc.h (Tue Nov 25 22:46:14 2003
)
1: /* Pcsx - Pc Psx Emulator
2: * Copyright (C) 1999-2003 Pcsx Team
3: *
4: * This program is free software; you can redistribute it and/or modify
5: * it under the terms of the GNU General Public License as published by
6: * the Free Software Foundation; either version 2 of the License, or
7: * (at your option) any later version.
8: *
9: * This program is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12: * GNU General Public License for more details.
13: *
14: * You should have received a copy of the GNU General Public License
15: * along with this program; if not, write to the Free Software
16: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17: */
18:
19: #ifndef __MISC_H__
20: #define __MISC_H__
21:
22: #undef s_addr
23:
24: typedef struct {
25: unsigned char id[8];
26: unsigned long text;
27: unsigned long data;
28: unsigned long pc0;
29: unsigned long gp0;
30: unsigned long t_addr;
31: unsigned long t_size;
32: unsigned long d_addr;
33: unsigned long d_size;
34: unsigned long b_addr;
35: unsigned long b_size;
36: unsigned long s_addr;
37: unsigned long s_size;
38: unsigned long SavedSP;
39: unsigned long SavedFP;
40: unsigned long SavedGP;
41: unsigned long SavedRA;
42: unsigned long SavedS0;
43: } EXE_HEADER;
44:
45: char CdromId[9];
46: char CdromLabel[11];
47:
48: int LoadCdrom();
49: int LoadCdromFile(char *filename, EXE_HEADER *head);
50: int CheckCdrom();
51: int Load(char *ExePath);
52:
53: int SaveState(char *file);
54: int LoadState(char *file);
55: int CheckState(char *file);
56:
57: int SendPcsxInfo();
58: int RecvPcsxInfo();
59:
60: extern char *LabelAuthors;
61: extern char *LabelGreets;
62:
63: char *ParseLang(char *id);
64:
65: #endif /* __MISC_H__ */
66: /* arch-tag: Matthew Dempsky Wed Oct 15 10:34:43 CST 2003 (Misc.h)
67: */
68:
Html form generated by Xrefactory version 1.6.4 on Fri Dec 12 20:52:56 2003
Trial version.