VideoCommon: Skip vsync if configured emulation speed is not 100%
It doesn't make much sense to try to vsync at weird framerates, and vsync actually causes the speed setting to not work as expected.
This commit is contained in:
parent
5f0d825f40
commit
e9046f8eec
|
@ -8,6 +8,7 @@
|
|||
#include "Common/CommonTypes.h"
|
||||
#include "Common/StringUtil.h"
|
||||
#include "Core/Config/GraphicsSettings.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/Movie.h"
|
||||
#include "VideoCommon/OnScreenDisplay.h"
|
||||
|
@ -174,7 +175,8 @@ void VideoConfig::VerifyValidity()
|
|||
|
||||
bool VideoConfig::IsVSync() const
|
||||
{
|
||||
return bVSync && !Core::GetIsThrottlerTempDisabled();
|
||||
return bVSync && !Core::GetIsThrottlerTempDisabled() &&
|
||||
SConfig::GetInstance().m_EmulationSpeed == 1.0;
|
||||
}
|
||||
|
||||
bool VideoConfig::UsingUberShaders() const
|
||||
|
|
Loading…
Reference in New Issue