mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
GameFile: Default GameBanner operator==
Same behavior, but less code.
This commit is contained in:
@ -70,16 +70,6 @@ DiscIO::Language GameFile::GetConfigLanguage() const
|
||||
return SConfig::GetInstance().GetLanguageAdjustedForRegion(DiscIO::IsWii(m_platform), m_region);
|
||||
}
|
||||
|
||||
bool operator==(const GameBanner& lhs, const GameBanner& rhs)
|
||||
{
|
||||
return std::tie(lhs.buffer, lhs.width, lhs.height) == std::tie(rhs.buffer, rhs.width, rhs.height);
|
||||
}
|
||||
|
||||
bool operator!=(const GameBanner& lhs, const GameBanner& rhs)
|
||||
{
|
||||
return !operator==(lhs, rhs);
|
||||
}
|
||||
|
||||
const std::string& GameFile::Lookup(DiscIO::Language language,
|
||||
const std::map<DiscIO::Language, std::string>& strings)
|
||||
{
|
||||
|
Reference in New Issue
Block a user