summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-11 22:41:29 +0100
committertwinaphex2014-12-11 22:41:29 +0100
commit4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472 (patch)
treee138e7cc6eda648e51d3b9b94feed988314c281b
parent853be8aea336be18ab7c9cf87d9eb2346b03ccd9 (diff)
downloadpicogpsp-4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472.tar.gz
picogpsp-4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472.tar.bz2
picogpsp-4cfd459d5bff29feaf569f26c8a8ffcbf5fcd472.zip
Simplify tile_4bpp_draw_base_normal
-rw-r--r--video.c8
1 files changed, 1 insertions, 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) \