diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 142f4ca4..581e11d4 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -799,9 +799,14 @@ namespace GARbro.GUI { using (var input = OpenEntry (entry)) { + FormatCatalog.Instance.LastError = null; var sound = AudioFormat.Read (input); if (null == sound) + { + if (null != FormatCatalog.Instance.LastError) + throw FormatCatalog.Instance.LastError; return; + } if (m_audio != null) { diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index b5f62c74..90ee7602 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ using System.Windows; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion ("1.0.3.11")] -[assembly: AssemblyFileVersion ("1.0.2.11")] +[assembly: AssemblyVersion ("1.0.3.12")] +[assembly: AssemblyFileVersion ("1.0.2.12")]