From b733d4dc5afd7413a1008105c9a3abe71adb04bd Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Fri, 14 Apr 2023 19:56:17 -0700 Subject: [PATCH] (screen.c) Found issue with screen_fill, removed for now --- src/devices/screen.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/devices/screen.c b/src/devices/screen.c index 18ce8f7..d943894 100644 --- a/src/devices/screen.c +++ b/src/devices/screen.c @@ -37,8 +37,6 @@ static void screen_blit(UxnScreen *s, Uint8 *pixels, Uint16 x1, Uint16 y1, Uint8 *ram, Uint16 addr, Uint8 color, Uint8 flipx, Uint8 flipy, Uint8 twobpp) { int v, h, width = s->width, height = s->height, opaque = (color % 5) || !color; - if(!color) - return screen_fill(s, pixels, x1, y1, x1 + 8, y1 + 8, 0); for(v = 0; v < 8; v++) { Uint16 c = ram[(addr + v) & 0xffff] | (twobpp ? (ram[(addr + v + 8) & 0xffff] << 8) : 0); Uint16 y = y1 + (flipy ? 7 - v : v);