summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2017-11-10 19:37:20 -0800
committerGitHub <noreply@github.com>2017-11-10 19:37:20 -0800
commit6161bda1dd668c6feee1ce4cbc6d158f598dd073 (patch)
treef9a078820d7a428d9ceabc30cc18ebb3a8600ece /Source
parent126b7ea01caa6fd4eb884cda053ebb938f156c7f (diff)
parent8e654528fc5021e3c3ad531dc0a69c9fcdb747b2 (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.cpp2
-rw-r--r--Source/Core/VideoCommon/VideoConfig.h2
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;