From 583c4840cf4b0057271639bed3ff804ca5e14fd5 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 5 Mar 2021 00:38:41 +0100 Subject: [PATCH] vdp rendering, fix crash for sprites with negative x/y (overlooked commit) --- pico/pico_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pico/pico_int.h b/pico/pico_int.h index 3cf5858c..cc3d2f44 100644 --- a/pico/pico_int.h +++ b/pico/pico_int.h @@ -353,7 +353,7 @@ struct PicoEState int rendstatus; void *DrawLineDest; // draw destination unsigned char *HighCol; - u32 *HighPreSpr; + s32 *HighPreSpr; struct Pico *Pico; unsigned short *PicoMem_vram; unsigned short *PicoMem_cram; -- 2.39.2