From ef0348f3419fb4e60fe59381eed86679f7d67148 Mon Sep 17 00:00:00 2001 From: ReignOfComputer Date: Mon, 10 Apr 2017 12:34:12 +0800 Subject: [PATCH] Latest Save Fix (#1043) This seems to do it for me. Previously, it looped all the way to the earliest save and loaded that. This stops the search at the first match ordered by descending write time. --- PKHeX/Saves/SaveUtil.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PKHeX/Saves/SaveUtil.cs b/PKHeX/Saves/SaveUtil.cs index 2373f2681..86e8390d0 100644 --- a/PKHeX/Saves/SaveUtil.cs +++ b/PKHeX/Saves/SaveUtil.cs @@ -581,6 +581,7 @@ public static bool detectSaveFile(out string path, params string[] extra) continue; path = file; + return true; } catch (Exception e) {