mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-22 04:24:56 +00:00
VideoConfig: Add const specifier to IsVSync() member function
This member function doesn't alter VideoConfig's state.
This commit is contained in:
parent
126b7ea01c
commit
8e654528fc
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue