diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /games-emulation/generator/files/generator-0.35_p4-gcc.patch | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'games-emulation/generator/files/generator-0.35_p4-gcc.patch')
-rw-r--r-- | games-emulation/generator/files/generator-0.35_p4-gcc.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/games-emulation/generator/files/generator-0.35_p4-gcc.patch b/games-emulation/generator/files/generator-0.35_p4-gcc.patch new file mode 100644 index 000000000000..e82512f0e3fb --- /dev/null +++ b/games-emulation/generator/files/generator-0.35_p4-gcc.patch @@ -0,0 +1,53 @@ +--- a/hdr/cpuz80.h ++++ b/hdr/cpuz80.h +@@ -5,7 +5,7 @@ + # include "raze.h" + #else + # include "cmz80.h" +-CONTEXTMZ80 cpuz80_z80; /* extern'd for save state code */ ++extern CONTEXTMZ80 cpuz80_z80; /* extern'd for save state code */ + #endif + + #define LEN_SRAM 0x2000 +--- a/main/event.c ++++ b/main/event.c +@@ -15,7 +15,7 @@ + + /* time for next event - update vdp_event - return when to call again */ + +-inline void event_nextevent(void) ++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 */ +--- a/main/vdp.c ++++ b/main/vdp.c +@@ -87,7 +87,7 @@ + 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 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 @@ + vdp_event_endline); */ + } + +-inline void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags, ++static void vdp_plotcell(uint8 *patloc, uint8 palette, uint8 flags, + uint8 *cellloc, unsigned int lineoffset) + { + int y, x; +--- a/ym2612/support.h ++++ b/ym2612/support.h +@@ -3,7 +3,7 @@ + #include "config.h" + + #define errorlog 0 +-#define INLINE inline ++#define INLINE + #define HAS_YM2612 1 + #define YM2612UpdateRequest(x) + #define AY8910_set_clock(chip,clock) |