From c02e7de55aac49bc1a02a8b5993ebb3ccbce1927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 30 Dec 2019 12:13:00 +0100 Subject: [PATCH] IOS/ES: Remove now unnecessary title sorting hack ES now uses FS to access the filesystem and FS's ReadDirectory now returns file lists that are correctly ordered. --- Source/Core/Core/IOS/ES/NandUtils.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/Core/Core/IOS/ES/NandUtils.cpp b/Source/Core/Core/IOS/ES/NandUtils.cpp index 5e98ed618b..ab25f06c76 100644 --- a/Source/Core/Core/IOS/ES/NandUtils.cpp +++ b/Source/Core/Core/IOS/ES/NandUtils.cpp @@ -109,12 +109,6 @@ static std::vector 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; }