diff options
Diffstat (limited to 'emulators/generator-cbiere')
-rw-r--r-- | emulators/generator-cbiere/distinfo | 5 | ||||
-rw-r--r-- | emulators/generator-cbiere/patches/patch-main_event.c | 13 | ||||
-rw-r--r-- | emulators/generator-cbiere/patches/patch-main_vdp.c | 22 | ||||
-rw-r--r-- | emulators/generator-cbiere/patches/patch-ym2612_support.h | 13 |
4 files changed, 52 insertions, 1 deletions
diff --git a/emulators/generator-cbiere/distinfo b/emulators/generator-cbiere/distinfo index 767859a26ac..6f2c37b85a6 100644 --- a/emulators/generator-cbiere/distinfo +++ b/emulators/generator-cbiere/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.3 2008/09/08 07:42:49 wiz Exp $ +$NetBSD: distinfo,v 1.4 2012/12/20 21:59:21 joerg Exp $ SHA1 (generator-0.35-cbiere-r4.tar.bz2) = 09d61950f128497af339d46ffc6c224eafe78206 RMD160 (generator-0.35-cbiere-r4.tar.bz2) = 27d8fd2fb741bbbbd13956845c939ec4a0798b04 Size (generator-0.35-cbiere-r4.tar.bz2) = 435289 bytes +SHA1 (patch-main_event.c) = c9abbf1f80772844ba08701f6fe1adc07af139ae +SHA1 (patch-main_vdp.c) = f905128b025d793f5a26c94ae80533211aef2105 +SHA1 (patch-ym2612_support.h) = 581fe7fc7cf7fddce2dbea20e1fb9e560e919fac diff --git a/emulators/generator-cbiere/patches/patch-main_event.c b/emulators/generator-cbiere/patches/patch-main_event.c new file mode 100644 index 00000000000..0c7723acf83 --- /dev/null +++ b/emulators/generator-cbiere/patches/patch-main_event.c @@ -0,0 +1,13 @@ +$NetBSD: patch-main_event.c,v 1.1 2012/12/20 21:59:21 joerg Exp $ + +--- main/event.c.orig 2005-09-02 02:43:05.000000000 +0000 ++++ main/event.c +@@ -15,7 +15,7 @@ + + /* time for next event - update vdp_event - return when to call again */ + +-inline void event_nextevent(void) ++static inline void event_nextevent(void) + { + /* call this when it *is* time for the next event as dictated by vdp_event, + so we switch on it and update vdp_event at the same time */ diff --git a/emulators/generator-cbiere/patches/patch-main_vdp.c b/emulators/generator-cbiere/patches/patch-main_vdp.c new file mode 100644 index 00000000000..5bcae2b8b33 --- /dev/null +++ b/emulators/generator-cbiere/patches/patch-main_vdp.c @@ -0,0 +1,22 @@ +$NetBSD: patch-main_vdp.c,v 1.1 2012/12/20 21:59:21 joerg Exp $ + +--- main/vdp.c.orig 2005-09-02 02:47:47.000000000 +0000 ++++ main/vdp.c +@@ -87,7 +87,7 @@ void vdp_describe(void); + void vdp_eventinit(void); + void vdp_layer_simple(unsigned int layer, unsigned int priority, + uint8 *fielddata, unsigned int lineoffset); +-inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags, ++static inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags, + uint8 *cellloc, unsigned int lineoffset); + void vdp_sprites(unsigned int line, uint8 *pridata, uint8 *outdata); + int vdp_sprite_simple(unsigned int priority, uint8 *framedata, +@@ -1733,7 +1733,7 @@ void vdp_endfield(void) + vdp_event_endline); */ + } + +-inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags, ++static inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags, + uint8 *cellloc, unsigned int lineoffset) + { + int y, x; diff --git a/emulators/generator-cbiere/patches/patch-ym2612_support.h b/emulators/generator-cbiere/patches/patch-ym2612_support.h new file mode 100644 index 00000000000..6eda70041bf --- /dev/null +++ b/emulators/generator-cbiere/patches/patch-ym2612_support.h @@ -0,0 +1,13 @@ +$NetBSD: patch-ym2612_support.h,v 1.1 2012/12/20 21:59:21 joerg Exp $ + +--- ym2612/support.h.orig 2005-08-27 09:12:29.000000000 +0000 ++++ ym2612/support.h +@@ -3,7 +3,7 @@ + #include "config.h" + + #define errorlog 0 +-#define INLINE inline ++#define INLINE static inline + #define HAS_YM2612 1 + #define YM2612UpdateRequest(x) + #define AY8910_set_clock(chip,clock) |