mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Merge pull request #1798 from FioraAeterna/overclock
Support overclocking and underclocking the Gamecube CPU
This commit is contained in:
commit
394257f33b
12 changed files with 111 additions and 10 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue