Skip to content

Commit

Permalink
increase max zoom to 1.6 for GB/GBA
Browse files Browse the repository at this point in the history
  • Loading branch information
dborth committed Aug 9, 2024
1 parent 9655bf6 commit 194874f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 194874f

Please sign in to comment.