Old border sprite hack disabled.

Sync with latest WinUAE sources
This commit is contained in:
Dimitris Panokostas 2019-12-15 23:32:45 +01:00
parent bc8afd8f0b
commit 26cc2e3d32

View file

@ -912,13 +912,15 @@ 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)