diff --git a/BizHawk.Client.Common/config/ConfigService.cs b/BizHawk.Client.Common/config/ConfigService.cs index 425a1a2ef7..b58d155ffa 100644 --- a/BizHawk.Client.Common/config/ConfigService.cs +++ b/BizHawk.Client.Common/config/ConfigService.cs @@ -59,7 +59,7 @@ namespace BizHawk.Client.Common public static void Save(string filepath, object config) { var file = new FileInfo(filepath); - if (file.Exists && !file.IsReadOnly) + try { using (var writer = file.CreateText()) { @@ -67,6 +67,10 @@ namespace BizHawk.Client.Common Serializer.Serialize(w, config); } } + catch + { + /* Eat it */ + } } // movie 1.0 header stuff