1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
// -*- C++ -*-
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator.
// Copyright (C) 1999-2003 Forgotten
// Copyright (C) 2004 Forgotten and the VBA development team
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or(at your option)
// any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software Foundation,
// Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned __int64 u64;
typedef unsigned long long u64;
typedef signed char s8;
typedef signed short s16;
typedef signed int s32;
typedef signed __int64 s64;
typedef signed long long s64;
;
//extern void log(const char *,...);
//extern bool systemPauseOnFrame();
//extern void systemGbPrint(u8 *,int,int,int,int);
//extern void systemScreenCapture(int);
//extern void systemDrawScreen();
// updates the joystick data
//extern bool systemReadJoypads();
// return information about the given joystick, -1 for default joystick
//extern u32 systemReadJoypad(int);
//extern u32 systemGetClock();
//extern void systemMessage(int, const char *, ...);
//extern void systemSetTitle(const char *);
extern void ;
extern void ;
extern void ;
extern void ;
extern void ;
extern bool ;
extern void ;
//extern void systemUpdateMotionSensor();
//extern int systemGetSensorX();
//extern int systemGetSensorY();
extern bool ;
//extern void systemShowSpeed(int);
//extern void system10Frames(int);
//extern void systemFrame();
//extern void systemGbBorderOn();
extern bool systemSoundOn;
//extern u16 systemColorMap16[0x10000];
//extern u32 systemColorMap32[0x10000];
//extern u16 systemGbPalette[24];
//extern int systemRedShift;
//extern int systemGreenShift;
//extern int systemBlueShift;
//extern int systemColorDepth;
//extern int systemDebug;
//extern int systemVerbose;
//extern int systemFrameSkip;
//extern int systemSaveUpdateCounter;
//VBA_SYSTEM_H