mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Support overclocking and underclocking the Gamecube CPU
Won't work with all games, but provides a nice way to spend extra CPU to make a variable framerate game faster (e.g. Spyro or The Last Story), or to make a game use less CPU at the cost of a lower framerate (e.g. Rogue Leader).
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user