diff --git a/Core/Config.cpp b/Core/Config.cpp index 7e64c202b9..97ac3dca3c 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -679,10 +679,14 @@ static bool DefaultVertexCache() { template struct ConfigTranslator { static std::string To(int v) { - return FTo(T(v)); + return StringFromInt(v) + " (" + FTo(T(v)) + ")"; } static int From(const std::string &v) { + int result; + if (TryParse(v, &result)) { + return result; + } return (int)FFrom(v); } };