diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2017-11-10 19:37:20 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-10 19:37:20 -0800 |
| commit | 6161bda1dd668c6feee1ce4cbc6d158f598dd073 (patch) | |
| tree | f9a078820d7a428d9ceabc30cc18ebb3a8600ece /Source | |
| parent | 126b7ea01caa6fd4eb884cda053ebb938f156c7f (diff) | |
| parent | 8e654528fc5021e3c3ad531dc0a69c9fcdb747b2 (diff) | |
Merge pull request #6184 from lioncash/const
VideoConfig: Add const specifier to IsVSync() member function
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |
