diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index f561f94d37..5dbc3ef196 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -180,7 +180,7 @@ void VideoConfig::VerifyValidity() } } -bool VideoConfig::IsVSync() +bool VideoConfig::IsVSync() const { return bVSync && !Core::GetIsThrottlerTempDisabled(); } diff --git a/Source/Core/VideoCommon/VideoConfig.h b/Source/Core/VideoCommon/VideoConfig.h index 9fbe78d5c5..c49fe90456 100644 --- a/Source/Core/VideoCommon/VideoConfig.h +++ b/Source/Core/VideoCommon/VideoConfig.h @@ -58,7 +58,7 @@ struct VideoConfig final void Refresh(); void VerifyValidity(); void UpdateProjectionHack(); - bool IsVSync(); + bool IsVSync() const; // General bool bVSync;