Merge pull request #7398 from Techjar/emu-speed-skip-vsync
VideoCommon: Skip vsync if configured emulation speed is not 100%
This commit is contained in:
commit
c49eb2d249
|
@ -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