From 458b21d5c613e83db339788379d8836c72482d5a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 13 Nov 2019 12:24:43 -0500 Subject: [PATCH] v0.8.0: forced a minimum stored value on window resolution --- .../com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java index 5780249d7..ed27d92c8 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/SPDSettings.java @@ -267,8 +267,8 @@ public class SPDSettings extends GameSettings { public static Point windowResolution(){ return new Point( - getInt( KEY_WINDOW_WIDTH, 960 ), - getInt( KEY_WINDOW_HEIGHT, 640 ) + getInt( KEY_WINDOW_WIDTH, 960, 960, Integer.MAX_VALUE ), + getInt( KEY_WINDOW_HEIGHT, 640, 640, Integer.MAX_VALUE ) ); }