diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-01-05 23:22:07 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-01-06 16:13:54 +0100 |
| commit | fb47035f97ab196dbc3e5a38791898eb90fb71a8 (patch) | |
| tree | 43dfba57831921b08e33f315430b6dd6419a008f /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | 5d11dc1926a7c76d8cfcd11d995e24244bdd7e71 (diff) | |
Config: Port emulation speed setting to new config system.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index a835625691..c8f79b0e66 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -9,7 +9,7 @@ #include "Common/CommonTypes.h" #include "Common/StringUtil.h" #include "Core/Config/GraphicsSettings.h" -#include "Core/ConfigManager.h" +#include "Core/Config/MainSettings.h" #include "Core/Core.h" #include "Core/Movie.h" #include "VideoCommon/DriverDetails.h" @@ -24,7 +24,7 @@ static bool IsVSyncActive(bool enabled) { // Vsync is disabled when the throttler is disabled by the tab key. return enabled && !Core::GetIsThrottlerTempDisabled() && - SConfig::GetInstance().m_EmulationSpeed == 1.0; + Config::Get(Config::MAIN_EMULATION_SPEED) == 1.0; } void UpdateActiveConfig() |
