summaryrefslogtreecommitdiff
path: root/emulators/gngb/files/patch-src_interrupt.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-22 18:38:06 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-22 18:38:06 +0000
commita8b4a281c42c022147a984fa7aaf77ad149278c7 (patch)
treee405a6a742aba68094c2dcca2febfb6b21978a51 /emulators/gngb/files/patch-src_interrupt.c
parentchinese/zh-librime: Update to 1.6.1 (diff)
Fix build with -fno-common
Diffstat (limited to 'emulators/gngb/files/patch-src_interrupt.c')
-rw-r--r--emulators/gngb/files/patch-src_interrupt.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_interrupt.c b/emulators/gngb/files/patch-src_interrupt.c
new file mode 100644
index 000000000000..0b51bef19621
--- /dev/null
+++ b/emulators/gngb/files/patch-src_interrupt.c
@@ -0,0 +1,12 @@
+--- src/interrupt.c.orig 2005-12-11 11:18:27 UTC
++++ src/interrupt.c
+@@ -28,6 +28,9 @@
+
+ #define DELAY_CYCLE 24
+
++GBTIMER *gbtimer;
++GBLCDC *gblcdc;
++
+ static const Uint16 lcd_cycle_tab[2][5]={{204,456,80,172,80}, /* GB */
+ {204*2,456*2,80*2,172*2,80*2}}; /* CGB */
+