Skip to content

Commit

Permalink
Interlace screen height fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonioni committed Oct 12, 2024
1 parent 98b2380 commit 0f74d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drawing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ int get_vertical_visible_height(bool useoldsize)
if (hardwired) {
get_vblanking_limits(&vbstrt, &vbstop, true);
int hh = vbstop - vbstrt;
if (interlace_seen && !lof_store) {
hh++;
if (interlace_seen && lof_display) {
hh -= 1 << currprefs.gfx_vresolution;
}
if (h > hh) {
h = hh;
Expand Down

0 comments on commit 0f74d65

Please sign in to comment.