pkgsrc/emulators/uae/patches/patch-ad
2006-07-02 15:47:16 +00:00

27 lines
1 KiB
Text

$NetBSD: patch-ad,v 1.3 2006/07/02 15:47:16 tron Exp $
--- src/custom.c.orig 2005-07-02 17:24:06.000000000 +0100
+++ src/custom.c 2006-07-02 16:38:58.000000000 +0100
@@ -111,7 +111,8 @@
static uae_u16 sprdata[MAX_SPRITES][4], sprdatb[MAX_SPRITES][4];
static int sprite_last_drawn_at[MAX_SPRITES];
static int last_sprite_point, nr_armed;
-static int sprite_width, sprres, sprite_buffer_res;
+int sprite_width;
+static int sprres, sprite_buffer_res;
static uae_u32 bpl1dat, bpl2dat, bpl3dat, bpl4dat, bpl5dat, bpl6dat, bpl7dat, bpl8dat;
static uae_s16 bpl1mod, bpl2mod;
@@ -234,9 +235,9 @@
struct draw_info line_drawinfo[2][2 * (MAXVPOS + 1) + 1];
struct color_entry color_tables[2][(MAXVPOS + 1) * 2];
-static int next_sprite_entry = 0;
-static int prev_next_sprite_entry;
-static int next_sprite_forced = 1;
+int next_sprite_entry = 0;
+int prev_next_sprite_entry;
+int next_sprite_forced = 1;
struct sprite_entry *curr_sprite_entries, *prev_sprite_entries;
struct color_change *curr_color_changes, *prev_color_changes;