mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Config: Port emulation speed setting to new config system.
This commit is contained in:
parent
5d11dc1926
commit
fb47035f97
12 changed files with 22 additions and 45 deletions
|
@ -71,7 +71,7 @@ unsigned int Mixer::MixerFifo::Mix(short* samples, unsigned int numSamples,
|
|||
// advance indexR with sample position
|
||||
// remember fractional offset
|
||||
|
||||
float emulationspeed = SConfig::GetInstance().m_EmulationSpeed;
|
||||
float emulationspeed = Config::Get(Config::MAIN_EMULATION_SPEED);
|
||||
float aid_sample_rate = static_cast<float>(m_input_sample_rate);
|
||||
if (consider_framelimit && emulationspeed > 0.0f)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue