From: Toni Wilen Date: Sat, 14 Dec 2019 18:06:33 +0000 (+0200) Subject: Old border sprite hack disabled. X-Git-Tag: 4300~6 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=8331c60401263babc972c3029513e8644f3ec580;p=francis%2Fwinuae.git Old border sprite hack disabled. --- diff --git a/drawing.cpp b/drawing.cpp index 4b4a207f..771b8260 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -1007,13 +1007,14 @@ static void pfield_init_linetoscr (bool border) if (x > max) max = x; } - min = coord_hw_to_window_x (min >> sprite_buffer_res) + (DIW_DDF_OFFSET << lores_shift); - max = coord_hw_to_window_x (max >> sprite_buffer_res) + (DIW_DDF_OFFSET << lores_shift); - +#if 0 + min = coord_hw_to_window_x(min >> sprite_buffer_res) + (DIW_DDF_OFFSET << lores_shift); if (min < playfield_start) playfield_start = min; if (playfield_start < visible_left_border) playfield_start = visible_left_border; +#endif + max = coord_hw_to_window_x(max >> sprite_buffer_res) + (DIW_DDF_OFFSET << lores_shift); if (max > playfield_end) playfield_end = max; if (playfield_end > visible_right_border)