]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Increase sprite buffer size
authorToni Wilen <twilen@winuae.net>
Tue, 16 May 2023 16:58:41 +0000 (19:58 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 16 May 2023 16:58:41 +0000 (19:58 +0300)
include/drawing.h

index c1417f6a705433af06d375b6d8c209407dc3fa90..30f251b412db39eb18a6e8a691626dea2fbbf335 100644 (file)
@@ -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
 {