From 8331c60401263babc972c3029513e8644f3ec580 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 14 Dec 2019 20:06:33 +0200 Subject: [PATCH] Old border sprite hack disabled. --- drawing.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) -- 2.47.3