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

@ -6085,8 +6085,10 @@ void FullscreenUI::PopulateGameListEntryList()
{
case 0: // Type
{
if (lhs->type != rhs->type)
return reverse ? (lhs->type > rhs->type) : (lhs->type < rhs->type);
const GameList::EntryType lst = lhs->GetSortType();
const GameList::EntryType rst = rhs->GetSortType();
if (lst != rst)
return reverse ? (lst > rst) : (lst < rst);
}
break;