mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
GameFile: Default GameBanner operator==
Same behavior, but less code.
This commit is contained in:
@ -27,6 +27,9 @@ struct GameBanner
|
||||
std::vector<u32> buffer;
|
||||
u32 width{};
|
||||
u32 height{};
|
||||
|
||||
bool operator==(const GameBanner&) const = default;
|
||||
|
||||
bool empty() const { return buffer.empty(); }
|
||||
void DoState(PointerWrap& p);
|
||||
};
|
||||
@ -38,9 +41,6 @@ struct GameCover
|
||||
void DoState(PointerWrap& p);
|
||||
};
|
||||
|
||||
bool operator==(const GameBanner& lhs, const GameBanner& rhs);
|
||||
bool operator!=(const GameBanner& lhs, const GameBanner& rhs);
|
||||
|
||||
// This class caches the metadata of a DiscIO::Volume (or a DOL/ELF file).
|
||||
class GameFile final
|
||||
{
|
||||
|
Reference in New Issue
Block a user