Merge pull request #1798 from FioraAeterna/overclock

Support overclocking and underclocking the Gamecube CPU
This commit is contained in:
Pierre Bourdon
2015-01-11 06:12:27 +01:00
12 changed files with 111 additions and 10 deletions

View File

@ -64,6 +64,8 @@ template <typename N>
static bool TryParse(const std::string &str, N *const output)
{
std::istringstream iss(str);
// is this right? not doing this breaks reading floats on locales that use different decimal separators
iss.imbue(std::locale(".1252"));
N tmp = 0;
if (iss >> tmp)