From 6ccf4f2919a2ffae590384cb3d707f0a7f80bf86 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Tue, 16 May 2023 19:58:41 +0300 Subject: [PATCH] Increase sprite buffer size --- include/drawing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.3