diff options
Diffstat (limited to 'emulators/gngb/files/patch-src_interrupt.h')
-rw-r--r-- | emulators/gngb/files/patch-src_interrupt.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_interrupt.h b/emulators/gngb/files/patch-src_interrupt.h new file mode 100644 index 000000000000..c27a075307c1 --- /dev/null +++ b/emulators/gngb/files/patch-src_interrupt.h @@ -0,0 +1,23 @@ +--- src/interrupt.h.orig 2003-05-09 05:25:27 UTC ++++ src/interrupt.h +@@ -68,9 +68,9 @@ typedef struct { + Uint8 *vram_pal_line[160]; + }GBLCDC; + +-GBLCDC *gblcdc; ++extern GBLCDC *gblcdc; + +-Uint8 vram_pal_line_temp[160][4]; ++extern Uint8 vram_pal_line_temp[160][4]; + extern Uint8 vram_init_pal; + + #define gb_set_pal_bck(v) { \ +@@ -98,7 +98,7 @@ typedef struct { + Sint32 cycle; + }GBTIMER; + +-GBTIMER *gbtimer; ++extern GBTIMER *gbtimer; + + void gblcdc_init(void); + void gblcdc_reset(void); |