From c25cec01cf40b872c61d6ef0d2178de0231ddb06 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 20 Dec 2021 21:51:20 +0200 Subject: [PATCH] Programmed mode position adjustment --- custom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom.cpp b/custom.cpp index d2f6cb0d..970eb380 100644 --- a/custom.cpp +++ b/custom.cpp @@ -5382,7 +5382,7 @@ void compute_framesync(void) int stop = hsyncendpos >> CCK_SHRES_SHIFT; int w; - int minhsync = 21; + int minhsync = 23; if (start > maxhpos) { int hssize = stop - (start - maxhpos); @@ -5400,7 +5400,7 @@ void compute_framesync(void) vidinfo->drawbuffer.inwidth = (w * 2) << res2; - vidinfo->drawbuffer.inxoffset = (stop * 2) << eres; + vidinfo->drawbuffer.inxoffset = ((stop + 7) * 2) << eres; vidinfo->drawbuffer.extrawidth = 0; vidinfo->drawbuffer.inwidth2 = vidinfo->drawbuffer.inwidth; -- 2.47.3