summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-25 03:45:35 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-25 03:45:35 +0300
commit8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8 (patch)
tree388ae6a4bb7f23a6c749c5ea7371d1e4df2dc3b3
parent875784e4d8b13e19ed23bdb3615c4bbc7a80bcd9 (diff)
downloadmanaplus-8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8.tar.gz
manaplus-8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8.tar.bz2
manaplus-8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8.tar.xz
manaplus-8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8.zip
Set default Android fps limit to 100.
Most devices anyway have build it fps limit and 100 here for protection.
-rw-r--r--src/defaults.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index fd895fbf7..6e36bc6db 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -113,6 +113,7 @@ DefaultsData* getConfigDefaults()
AddDEF("showBeingPopup", false);
AddDEF("mouseDirectionMove", true);
AddDEF("showScreenKeyboard", true);
+ AddDEF("fpslimit", 100);
#else
AddDEF("screenwidth", defaultScreenWidth);
AddDEF("screenheight", defaultScreenHeight);
@@ -121,6 +122,7 @@ DefaultsData* getConfigDefaults()
AddDEF("showBeingPopup", true);
AddDEF("mouseDirectionMove", false);
AddDEF("showScreenKeyboard", false);
+ AddDEF("fpslimit", 60);
#endif
AddDEF("screen", false);
AddDEF("hwaccel", false);
@@ -130,7 +132,6 @@ DefaultsData* getConfigDefaults()
AddDEF("remember", false);
AddDEF("username", "");
AddDEF("lastCharacter", "");
- AddDEF("fpslimit", 60);
AddDEF("altfpslimit", 5);
AddDEF("updatehost", "");
AddDEF("screenshotDirectory", "");