commit b733d4d

Devine Lu Linvega  ·  2023-04-15 02:56:17 +0000 UTC
parent da59482
(screen.c) Found issue with screen_fill, removed for now
1 files changed,  +0, -2
+0, -2
1@@ -37,8 +37,6 @@ static void
2 screen_blit(UxnScreen *s, Uint8 *pixels, Uint16 x1, Uint16 y1, Uint8 *ram, Uint16 addr, Uint8 color, Uint8 flipx, Uint8 flipy, Uint8 twobpp)
3 {
4 	int v, h, width = s->width, height = s->height, opaque = (color % 5) || !color;
5-	if(!color)
6-		return screen_fill(s, pixels, x1, y1, x1 + 8, y1 + 8, 0);
7 	for(v = 0; v < 8; v++) {
8 		Uint16 c = ram[(addr + v) & 0xffff] | (twobpp ? (ram[(addr + v + 8) & 0xffff] << 8) : 0);
9 		Uint16 y = y1 + (flipy ? 7 - v : v);