From 194874f245f7f0101658e1ed60773f2f978aecd7 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Thu, 8 Aug 2024 19:01:28 -0600 Subject: [PATCH] increase max zoom to 1.6 for GB/GBA --- source/preferences.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/preferences.cpp b/source/preferences.cpp index 09e421d..444865a 100644 --- a/source/preferences.cpp +++ b/source/preferences.cpp @@ -596,13 +596,13 @@ void FixInvalidSettings() GCSettings.LoadMethod = DEVICE_AUTO; if(GCSettings.SaveMethod > 7) GCSettings.SaveMethod = DEVICE_AUTO; - if(!(GCSettings.gbaZoomHor > 0.5 && GCSettings.gbaZoomHor < 1.5)) + if(!(GCSettings.gbaZoomHor >= 0.5 && GCSettings.gbaZoomHor <= 1.6)) GCSettings.gbaZoomHor = 1.0; - if(!(GCSettings.gbaZoomVert > 0.5 && GCSettings.gbaZoomVert < 1.5)) + if(!(GCSettings.gbaZoomVert >= 0.5 && GCSettings.gbaZoomVert <= 1.6)) GCSettings.gbaZoomVert = 1.0; - if(!(GCSettings.gbZoomHor > 0.5 && GCSettings.gbZoomHor < 1.5)) + if(!(GCSettings.gbZoomHor >= 0.5 && GCSettings.gbZoomHor <= 1.6)) GCSettings.gbZoomHor = 1.0; - if(!(GCSettings.gbZoomVert > 0.5 && GCSettings.gbZoomVert < 1.5)) + if(!(GCSettings.gbZoomVert >= 0.5 && GCSettings.gbZoomVert <= 1.6)) GCSettings.gbZoomVert = 1.0; if(!(GCSettings.xshift > -50 && GCSettings.xshift < 50)) GCSettings.xshift = 0;