diff options
author | twinaphex | 2014-12-11 22:41:29 +0100 |
---|---|---|
committer | twinaphex | 2014-12-11 22:41:29 +0100 |
commit | 4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472 (patch) | |
tree | e138e7cc6eda648e51d3b9b94feed988314c281b | |
parent | 853be8aea336be18ab7c9cf87d9eb2346b03ccd9 (diff) | |
download | picogpsp-4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472.tar.gz picogpsp-4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472.tar.bz2 picogpsp-4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472.zip |
Simplify tile_4bpp_draw_base_normal
-rw-r--r-- | video.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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) \ |