NutWriter.cs: fix overwrite on existing file

This commit is contained in:
goyuken 2012-06-13 15:49:58 +00:00
parent 45b8b38d22
commit 36860f5c16
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}