summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-23 01:58:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-23 01:58:53 +0300
commit9c61fd08c23d1801dcaff1a25bf8bee65cdbff79 (patch)
tree9e53f357371310b99c36c2aa89c1e16806bfff06 /src
parent178837ed0f8361356d8bf863d3e9021c7c8baf80 (diff)
downloadmv-9c61fd08c23d1801dcaff1a25bf8bee65cdbff79.tar.gz
mv-9c61fd08c23d1801dcaff1a25bf8bee65cdbff79.tar.bz2
mv-9c61fd08c23d1801dcaff1a25bf8bee65cdbff79.tar.xz
mv-9c61fd08c23d1801dcaff1a25bf8bee65cdbff79.zip
add missing default config values for SDL2 on Android.
Diffstat (limited to 'src')
-rw-r--r--src/defaults.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 68cc4eb6e..243cc7110 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -269,7 +269,11 @@ DefaultsData* getConfigDefaults()
#endif
AddDEF("audioFrequency", 22010);
AddDEF("audioChannels", 2);
-#ifndef USE_SDL2
+#ifdef USE_SDL2
+ AddDEF("repeateDelay", 500);
+ AddDEF("repeateInterval", 30);
+ AddDEF("repeateInterval2", 500);
+#else
AddDEF("repeateDelay", SDL_DEFAULT_REPEAT_DELAY);
AddDEF("repeateInterval", SDL_DEFAULT_REPEAT_INTERVAL);
AddDEF("repeateInterval2", SDL_DEFAULT_REPEAT_DELAY);
@@ -322,6 +326,7 @@ DefaultsData* getConfigDefaults()
AddDEF("enableDebugLog", false);
AddDEF("doubleClick", true);
AddDEF("useDiagonalSpeed", true);
+ AddDEF("protectedItems", "");
return configData;
}