From a8b4a281c42c022147a984fa7aaf77ad149278c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Tue, 22 Sep 2020 18:38:06 +0000 Subject: Fix build with -fno-common --- emulators/gngb/files/patch-src_interrupt.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 emulators/gngb/files/patch-src_interrupt.c (limited to 'emulators/gngb/files/patch-src_interrupt.c') 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 */ + -- cgit v1.2.3