From 9c61fd08c23d1801dcaff1a25bf8bee65cdbff79 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 Sep 2013 01:58:53 +0300 Subject: add missing default config values for SDL2 on Android. --- src/defaults.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2