core vdp, fix crash in VSRAM rendering
authorkub <derkub@gmail.com>
Fri, 31 Jan 2025 20:00:56 +0000 (21:00 +0100)
committerkub <derkub@gmail.com>
Mon, 3 Feb 2025 20:03:21 +0000 (21:03 +0100)
pico/draw.c

index 12d0d93..fde65e7 100644 (file)
@@ -59,8 +59,8 @@ static u16 DefOutBuff[320*2] ALIGNED(4);
 void *DrawLineDestBase = DefOutBuff;\r
 int DrawLineDestIncrement;\r
 \r
-static u32 HighCacheA[41*2+1]; // caches for high layers\r
-static u32 HighCacheB[41*2+1];\r
+static u32 HighCacheA[42*2+1]; // caches for high layers\r
+static u32 HighCacheB[42*2+1];\r
 static s32 HighPreSpr[128*2*2]; // slightly preprocessed sprites (2 banks a 128)\r
 static int HighPreSprBank;\r
 \r