mirror of
https://github.com/kwsch/PKHeX
synced 2025-03-02 14:27:14 +00:00
parent
0d5694dc8e
commit
f1c2a74aed
1 changed files with 9 additions and 2 deletions
|
@ -868,8 +868,7 @@ namespace PKHeX.WinForms
|
||||||
WinFormsUtil.Error("Your platform does not support the required cryptography components.", "In order to be able to save your changes, you must either upgrade to a newer version of Windows or disable FIPS compliance mode.");
|
WinFormsUtil.Error("Your platform does not support the required cryptography components.", "In order to be able to save your changes, you must either upgrade to a newer version of Windows or disable FIPS compliance mode.");
|
||||||
// Don't abort loading; user can still view save and fix checksum on another platform.
|
// Don't abort loading; user can still view save and fix checksum on another platform.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Finish setting up the save file.
|
// Finish setting up the save file.
|
||||||
if (sav.IndeterminateGame && sav.Generation == 3)
|
if (sav.IndeterminateGame && sav.Generation == 3)
|
||||||
{
|
{
|
||||||
|
@ -1203,6 +1202,14 @@ namespace PKHeX.WinForms
|
||||||
UndoStack.Clear(); Menu_Undo.Enabled = false;
|
UndoStack.Clear(); Menu_Undo.Enabled = false;
|
||||||
RedoStack.Clear(); Menu_Redo.Enabled = false;
|
RedoStack.Clear(); Menu_Redo.Enabled = false;
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(path)) // Actual Save
|
||||||
|
{
|
||||||
|
// Check location write protection
|
||||||
|
if ((new DirectoryInfo(path).Attributes & FileAttributes.ReadOnly) != 0)
|
||||||
|
WinFormsUtil.Alert("Save file's location is write protected:\n" + path,
|
||||||
|
"If the path is a removable disk (SD card), please ensure the write protection switch is not set.");
|
||||||
|
}
|
||||||
|
|
||||||
// Indicate audibly the save is loaded
|
// Indicate audibly the save is loaded
|
||||||
SystemSounds.Beep.Play();
|
SystemSounds.Beep.Play();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue