From 4a60533a3f2d8d8f8df297c273ac3f717adb52ad Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 26 Jun 2025 20:09:48 +0200 Subject: [PATCH] Revert "Fix invalid comparator in savedata_op sorting" This reverts commit 22d9343f2ce20669d08c1426eb078cf4bb61e46a. --- rpcs3/Emu/Cell/Modules/cellSaveData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp index 00d2d385f9..eec2652f21 100644 --- a/rpcs3/Emu/Cell/Modules/cellSaveData.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSaveData.cpp @@ -862,11 +862,11 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v { if (order == CELL_SAVEDATA_SORTORDER_DESCENT && type == CELL_SAVEDATA_SORTTYPE_MODIFIEDTIME) { - return entry1.mtime > entry2.mtime; + return entry1.mtime >= entry2.mtime; } if (order == CELL_SAVEDATA_SORTORDER_DESCENT && type == CELL_SAVEDATA_SORTTYPE_SUBTITLE) { - return entry1.subtitle > entry2.subtitle; + return entry1.subtitle >= entry2.subtitle; } if (order == CELL_SAVEDATA_SORTORDER_ASCENT && type == CELL_SAVEDATA_SORTTYPE_MODIFIEDTIME) {