Merge pull request #6184 from lioncash/const

VideoConfig: Add const specifier to IsVSync() member function
This commit is contained in:
Anthony 2017-11-10 19:37:20 -08:00 committed by GitHub
commit 6161bda1dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ void VideoConfig::VerifyValidity()
} }
} }
bool VideoConfig::IsVSync() bool VideoConfig::IsVSync() const
{ {
return bVSync && !Core::GetIsThrottlerTempDisabled(); return bVSync && !Core::GetIsThrottlerTempDisabled();
} }

View File

@ -58,7 +58,7 @@ struct VideoConfig final
void Refresh(); void Refresh();
void VerifyValidity(); void VerifyValidity();
void UpdateProjectionHack(); void UpdateProjectionHack();
bool IsVSync(); bool IsVSync() const;
// General // General
bool bVSync; bool bVSync;