From 946c51fa4daaa933fe5a3ae1b0ddd810a44319fe Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Wed, 30 Nov 2022 20:09:04 -0500 Subject: [PATCH] Fix GrFixZoomScale gr.sx 8 pixel offset lock. --- src/System/Gr/GrScreen.ZC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System/Gr/GrScreen.ZC b/src/System/Gr/GrScreen.ZC index b9562f54..dcfd93a9 100755 --- a/src/System/Gr/GrScreen.ZC +++ b/src/System/Gr/GrScreen.ZC @@ -124,7 +124,7 @@ U0 GrFixZoomScale() } else { - gr.sx = ClampI64(gr.sx, 0, GR_WIDTH - GR_WIDTH / gr.screen_zoom) & ~7; + gr.sx = ClampI64(gr.sx, 0, GR_WIDTH - GR_WIDTH / gr.screen_zoom); gr.sy = ClampI64(gr.sy, 0, GR_HEIGHT - GR_HEIGHT / gr.screen_zoom); } }