From 4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 11 Dec 2014 22:41:29 +0100 Subject: Simplify tile_4bpp_draw_base_normal --- video.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/video.c b/video.c index 4b9b0eb..25e86c3 100644 --- a/video.c +++ b/video.c @@ -395,14 +395,8 @@ static void render_scanline_conditional_bitmap(u32 start, u32 end, u16 *scanline #define tile_4bpp_draw_base_normal(index) \ if(current_pixel) \ - { \ current_pixel |= current_palette; \ - tile_expand_base_normal(index); \ - } \ - else \ - { \ - tile_expand_base_normal(index); \ - } \ + tile_expand_base_normal(index); \ #define tile_4bpp_draw_base_alpha(index) \ -- cgit v1.2.3