diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-25 03:45:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-25 03:45:35 +0300 |
commit | 8a3fad3fada9c381e70ed8fd40ffa2d69b5ffde8 (patch) | |
tree | 388ae6a4bb7f23a6c749c5ea7371d1e4df2dc3b3 /src | |
parent | 875784e4d8b13e19ed23bdb3615c4bbc7a80bcd9 (diff) | |
download | manaplus-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/defaults.cpp | 3 |
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", ""); |