From 2d72a6941e9d20e2ae6ae333838cfee896c505bd Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Thu, 2 Dec 2021 20:24:31 +0200 Subject: [PATCH] Horizontal overscan blanking backwards compatibility fix. --- drawing.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.47.3