Skip to content

Commit

Permalink
IOS/ES: Remove now unnecessary title sorting hack
Browse files Browse the repository at this point in the history
ES now uses FS to access the filesystem and FS's ReadDirectory now
returns file lists that are correctly ordered.
  • Loading branch information
leoetlino committed Jan 13, 2020
1 parent 9e4a6b9 commit a919a40
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/Core/Core/IOS/ES/NandUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ static std::vector<u64> GetTitlesInTitleOrImport(FS::FileSystem* fs, const std::
}
}

// On a real Wii, the title list is not in any particular order. However, because of how
// the flash filesystem works, titles such as 1-2 are *never* in the first position.
// We must keep this behaviour, or some versions of the System Menu may break.

std::sort(title_ids.begin(), title_ids.end(), std::greater<>());

return title_ids;
}

Expand Down

0 comments on commit a919a40

Please sign in to comment.