mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 02:15:05 -05:00
Add ramsav loading on boot
This commit is contained in:
@@ -159,6 +159,8 @@ public Main()
|
||||
foreach (string arg in args.Skip(1).Where(a => a.Length > 4))
|
||||
openQuick(arg);
|
||||
}
|
||||
else if (path3DS != null && File.Exists(Path.Combine(Path.GetPathRoot(path3DS), "ramsav.bin")))
|
||||
openQuick(Path.Combine(Path.GetPathRoot(path3DS), "ramsav.bin"));
|
||||
else if (path3DS != null && File.Exists(Path.Combine(Path.GetPathRoot(path3DS), "SaveDataBackup", "main")))
|
||||
openQuick(Path.Combine(Path.GetPathRoot(path3DS), "SaveDataBackup", "main"));
|
||||
else if (pathSDF != null)
|
||||
@@ -3205,6 +3207,8 @@ private void clickSaveFileName(object sender, EventArgs e)
|
||||
path3DS = Util.get3DSLocation();
|
||||
string path = null;
|
||||
|
||||
if (path3DS != null && File.Exists(Path.Combine(Path.GetPathRoot(path3DS), "ramsav.bin")))
|
||||
path = Path.Combine(Path.GetPathRoot(path3DS), "ramsav.bin");
|
||||
if (path3DS != null && Directory.Exists(Path.Combine(path3DS, "SaveDataBackup")) && ModifierKeys != Keys.Control)
|
||||
path = Path.Combine(Path.GetPathRoot(path3DS), "SaveDataBackup", "main");
|
||||
else if (pathSDF != null && ModifierKeys != Keys.Shift) // if we have a result
|
||||
|
||||
Reference in New Issue
Block a user