Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/emulators/gngb/files/patch-src_interrupt.h
16461 views
1
--- src/interrupt.h.orig 2003-05-09 05:25:27 UTC
2
+++ src/interrupt.h
3
@@ -68,9 +68,9 @@ typedef struct {
4
Uint8 *vram_pal_line[160];
5
}GBLCDC;
6
7
-GBLCDC *gblcdc;
8
+extern GBLCDC *gblcdc;
9
10
-Uint8 vram_pal_line_temp[160][4];
11
+extern Uint8 vram_pal_line_temp[160][4];
12
extern Uint8 vram_init_pal;
13
14
#define gb_set_pal_bck(v) { \
15
@@ -98,7 +98,7 @@ typedef struct {
16
Sint32 cycle;
17
}GBTIMER;
18
19
-GBTIMER *gbtimer;
20
+extern GBTIMER *gbtimer;
21
22
void gblcdc_init(void);
23
void gblcdc_reset(void);
24
25