vdp rendering, fix crash for sprites with negative x/y (overlooked commit)
authorkub <derkub@gmail.com>
Thu, 4 Mar 2021 23:38:41 +0000 (00:38 +0100)
committerkub <derkub@gmail.com>
Thu, 4 Mar 2021 23:38:41 +0000 (00:38 +0100)
pico/pico_int.h

index 3cf5858..cc3d2f4 100644 (file)
@@ -353,7 +353,7 @@ struct PicoEState
   int rendstatus;\r
   void *DrawLineDest;          // draw destination\r
   unsigned char *HighCol;\r
-  u32 *HighPreSpr;\r
+  s32 *HighPreSpr;\r
   struct Pico *Pico;\r
   unsigned short *PicoMem_vram;\r
   unsigned short *PicoMem_cram;\r