From 85bf868612282040d982b6a55fc5ee4cb8e77846 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 10 Mar 2023 20:21:35 +0200 Subject: [PATCH] Fix HAM decoding when bitplane is under border --- drawing.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drawing.cpp b/drawing.cpp index 1e4910bc..8be23d61 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -2717,13 +2717,6 @@ static void decode_ham(int pix, int stoppos, int blank) static void decode_ham_border(int pix, int stoppos, int blank) { ham_lastcolor = color_reg_get(&colors_for_drawing, 0); - if (pix >= stoppos) { - return; - } - // HAM decoding starts 1 pixel early - int todraw_amiga = res_shift_from_window(stoppos - pix) - 1; - int hdp = ham_decode_pixel + todraw_amiga; - decode_ham_pixel(hdp); } static void erase_ham_right_border(int pix, int stoppos, bool blank) -- 2.47.3