try/catch the File.Move when making a backup savestate and do nothing
This commit is contained in:
parent
35f2599c13
commit
fa3ccc59e7
|
@ -3801,7 +3801,14 @@ namespace BizHawk.Client.EmuHawk
|
|||
backupFile.Delete();
|
||||
}
|
||||
|
||||
File.Move(path, backup);
|
||||
try
|
||||
{
|
||||
File.Move(path, backup);
|
||||
}
|
||||
catch
|
||||
{
|
||||
// Eat it, this will happen rarely and the user will rarely need the file, so the odds of simply not making the backup is very unlikely
|
||||
}
|
||||
}
|
||||
|
||||
SaveState(path, quickSlotName, false);
|
||||
|
|
Loading…
Reference in New Issue