GameList: Treat disc sets and discs equally when sorting

This commit is contained in:
Stenzek
2024-05-23 12:42:50 +10:00
parent 8709624751
commit dd98b630ea
3 changed files with 10 additions and 5 deletions

View File

@ -66,6 +66,7 @@ struct Entry
ALWAYS_INLINE bool IsDisc() const { return (type == EntryType::Disc); }
ALWAYS_INLINE bool IsDiscSet() const { return (type == EntryType::DiscSet); }
ALWAYS_INLINE EntryType GetSortType() const { return (type == EntryType::DiscSet) ? EntryType::Disc : type; }
};
const char* GetEntryTypeName(EntryType type);