From 36860f5c164643aec3b039a4e9ca67df8ca5a365 Mon Sep 17 00:00:00 2001 From: goyuken Date: Wed, 13 Jun 2012 15:49:58 +0000 Subject: [PATCH] NutWriter.cs: fix overwrite on existing file --- BizHawk.MultiClient/NutWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/NutWriter.cs b/BizHawk.MultiClient/NutWriter.cs index 8210892ea3..e4c9fcbd87 100644 --- a/BizHawk.MultiClient/NutWriter.cs +++ b/BizHawk.MultiClient/NutWriter.cs @@ -51,7 +51,7 @@ namespace BizHawk.MultiClient void startsegment() { - var currentfile = System.IO.File.Open(String.Format("{0}_{1,4:D4}.nut", baseName, segment), System.IO.FileMode.OpenOrCreate, System.IO.FileAccess.Write); + var currentfile = System.IO.File.Open(String.Format("{0}_{1,4:D4}.nut", baseName, segment), System.IO.FileMode.Create, System.IO.FileAccess.Write); current = new NutMuxer(width, height, fpsnum, fpsden, sampleRate, channels, currentfile); }