dolphin/Source/Core
Gabriel Corona 266d50c811 Use the C locale for non-Windows CharArrayFromFormatV() and StringFromFormat()
The Windows implementations of CharArrayFromFormatV() and
StringFromFormat() use the "C"/".1252" locale instead of the user
locale (using _vsnprintf_l). On non-Windows, the user locale was used.

This leads to bugs on non-Windows: the Overclock parameter was
serialised with the user locale ("0,279322" in some locale) and was
interpreted back as "0" (because the C locale is used for parsing the
string).

Make non-Windows CharArrayFromFormatV() and StringFromFormat()
consistent with their Windows counterpart.

The locale code is not enables for Android:: uselocale is only
available since API 21 and API 21 only supports C and C.UTF-8.
2015-02-04 17:49:22 +01:00
..
AudioCommon Merge pull request #1917 from adamdmoss/no-lfe 2015-01-23 12:30:48 +11:00
Common Use the C locale for non-Windows CharArrayFromFormatV() and StringFromFormat() 2015-02-04 17:49:22 +01:00
Core Merge pull request #1982 from skidau/AGP-hash 2015-01-31 12:34:01 +11:00
DiscIO Merge pull request #1869 from Stevoisiak/GeneralConsistency 2015-01-21 13:46:53 -06:00
DolphinQt Use unique_ptr for some IVolume instances 2015-01-29 21:33:19 -05:00
DolphinWX Merge pull request #1976 from lioncash/size 2015-01-31 12:34:35 +11:00
InputCommon Merge pull request #1923 from Sonicadvance1/remove_sdl_assumption 2015-01-21 13:29:39 -06:00
UICommon PostProcessing: Add support for user-supplied anaglyph shaders. 2015-01-25 22:07:03 +01:00
VideoBackends OGL: Fix a memory leak that would occur every time a game is launched 2015-01-31 16:00:53 -05:00
VideoCommon Merge pull request #1993 from Armada651/line-perspective 2015-01-31 23:45:54 +01:00
CMakeLists.txt Merge pull request #1085 from waddlesplash/refactoring 2014-10-05 21:25:44 -04:00