From 9d79199b137ec8659f5da79f362988b8edc934e3 Mon Sep 17 00:00:00 2001 From: slack Date: Sat, 25 Apr 2009 16:05:06 +0200 Subject: [PATCH] Fixed regression caused by previous commit --- core/GBVideo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/GBVideo.cc b/core/GBVideo.cc index 5fc3551..55dd82b 100644 --- a/core/GBVideo.cc +++ b/core/GBVideo.cc @@ -415,10 +415,10 @@ void GBVideo::draw() if (newscreen[line_base+screen_x+x]==0 || check_bit(v[i].flags,7)==false) { - newscreen[line_base+screen_x+x] = color | (pal_num + (1 << 4)); + newscreen[line_base+screen_x+x] = color | ((pal_num + 1) << 4); } } - //logger.trace(pal_num + (1 << 4)); + //logger.trace((pal_num + 1) << 4); } cur_x = v[i].x; -- 2.34.1