From 070050fd344460a8aef7461b63367be259b7ea23 Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 9 Oct 2014 22:04:56 +0000 Subject: [PATCH] When doing backup savestates, rename the existing file to the backup name, instead of copying the file contents over! Big performance boost to that feature --- BizHawk.Client.EmuHawk/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/MainForm.cs b/BizHawk.Client.EmuHawk/MainForm.cs index d238de2b05..bd250192b7 100644 --- a/BizHawk.Client.EmuHawk/MainForm.cs +++ b/BizHawk.Client.EmuHawk/MainForm.cs @@ -3311,7 +3311,7 @@ namespace BizHawk.Client.EmuHawk backupFile.Delete(); } - file.CopyTo(backup); + File.Move(path, backup); } SaveState(path, quickSlotName, false);