Re: [hatari-devel] Mouse scaling fix + ST_LOW_RES video boost

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hatari zoom bugs:

1)
"Keep desktop resolution" is NOT "Falcon/TT only" as "--zoom 1" is
active ONLY with "Keep desktop resolution" disabled. This is in ST
emulation and tested in TV mode to see the 200 vertical lines
skip-doubled to 400.

2)
When "--zoom 1" is selected AND "Show boarders" is selected,
"--zoom 1" is disregarded (resulting in zooming enabled).
This is because "--zoom 1" seems to work only with 320x200
resolution, whereas, my hack works in any resolution.

Thus, "--zoom 1" ONLY works when "Show boarders" is disabled AND
"Keep desktop resolution" is disabled; resulting in "--zoom 1"
being excluded from most of its usefulness.

My hack (for reference):
--- hatari/src/screen.c	2013-02-09 16:46:46.000000000 -0800
+++ hatari/src/screen.c	2013-02-09 21:05:13.000000000 -0800
@@ -383,7 +383,7 @@
 		Resolution_GetLimits(&maxW, &maxH, &BitCount);
 		
 		/* Zoom if necessary, factors used for scaling mouse motions */
-		if (STRes == ST_LOW_RES &&
+		if (STRes == ST_LOW_RES && ConfigureParams.Screen.bKeepResolution &&
 		    2*Width <= maxW && 2*Height+SBarHeight <= maxH)
 		{
 			nZoom = 2;
End of hack



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/