From: Toni Wilen Date: Thu, 2 Dec 2021 18:24:31 +0000 (+0200) Subject: Horizontal overscan blanking backwards compatibility fix. X-Git-Tag: 4900~4 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=2d72a6941e9d20e2ae6ae333838cfee896c505bd;p=francis%2Fwinuae.git Horizontal overscan blanking backwards compatibility fix. --- diff --git a/drawing.cpp b/drawing.cpp index 45118b71..4aaef18b 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -669,6 +669,10 @@ void check_custom_limits(void) int top = fd->gfx_filter_top_border < 0 ? 0 : fd->gfx_filter_top_border; int bottom = fd->gfx_filter_bottom_border < 0 ? 0 : fd->gfx_filter_bottom_border; + // backwards compatibility, old 0x38 start is gone. + left += (0x38 * 4) >> (RES_MAX - currprefs.gfx_resolution); + right += (0x38 * 4) >> (RES_MAX - currprefs.gfx_resolution); + if (left > visible_left_start) visible_left_start = left; if (right > left && right < visible_right_stop)