mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #6184 from lioncash/const
VideoConfig: Add const specifier to IsVSync() member function
This commit is contained in:
commit
6161bda1dd
@ -180,7 +180,7 @@ void VideoConfig::VerifyValidity()
|
||||
}
|
||||
}
|
||||
|
||||
bool VideoConfig::IsVSync()
|
||||
bool VideoConfig::IsVSync() const
|
||||
{
|
||||
return bVSync && !Core::GetIsThrottlerTempDisabled();
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ struct VideoConfig final
|
||||
void Refresh();
|
||||
void VerifyValidity();
|
||||
void UpdateProjectionHack();
|
||||
bool IsVSync();
|
||||
bool IsVSync() const;
|
||||
|
||||
// General
|
||||
bool bVSync;
|
||||
|
Loading…
Reference in New Issue
Block a user