From: Toni Wilen Date: Tue, 16 May 2023 16:58:41 +0000 (+0300) Subject: Increase sprite buffer size X-Git-Tag: 5.0.0~38 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=6ccf4f2919a2ffae590384cb3d707f0a7f80bf86;p=francis%2Fwinuae.git Increase sprite buffer size --- diff --git a/include/drawing.h b/include/drawing.h index c1417f6a..30f251b4 100644 --- a/include/drawing.h +++ b/include/drawing.h @@ -260,7 +260,7 @@ struct color_change { #define MAXVPOS_WRAPLINES 10 /* No divisors for MAX_PIXELS_PER_LINE; we support AGA and SHRES sprites */ -#define MAX_SPR_PIXELS ((((MAXVPOS + MAXVPOS_WRAPLINES) * 2 + 1) * MAX_PIXELS_PER_LINE) / 16) +#define MAX_SPR_PIXELS ((((MAXVPOS + MAXVPOS_WRAPLINES) * 2 + 1) * MAX_PIXELS_PER_LINE) / 12) struct sprite_entry {