From 9c4f2c6138cdb0e82d878ff87d2a89e8c973b341 Mon Sep 17 00:00:00 2001 From: WeeXnes Date: Thu, 15 Feb 2024 00:46:41 +0100 Subject: [PATCH] sound bug fix --- WeeXnes/Core/Console.cs | 10 +++++++++- WeeXnes/Core/Global.cs | 2 +- WeeXnes/WeeXnes.csproj | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/WeeXnes/Core/Console.cs b/WeeXnes/Core/Console.cs index e823cba..c0ddc67 100644 --- a/WeeXnes/Core/Console.cs +++ b/WeeXnes/Core/Console.cs @@ -40,7 +40,15 @@ namespace WeeXnes.Core { if(!App.DebugMode) return; - //VanillaConsole.OutputEncoding = Encoding.UTF8; + + try + { + VanillaConsole.OutputEncoding = Encoding.UTF8; + } + catch (Exception ex) + { + + } ConsoleColor prevColor = VanillaConsole.BackgroundColor; ConsoleColor prevForeColor = VanillaConsole.ForegroundColor; if (Data.Colors.colored_output) diff --git a/WeeXnes/Core/Global.cs b/WeeXnes/Core/Global.cs index 7cc9124..6bacd4d 100644 --- a/WeeXnes/Core/Global.cs +++ b/WeeXnes/Core/Global.cs @@ -8,7 +8,7 @@ namespace WeeXnes.Core { public class Information { - public const string Version = "4.5.1.2"; + public const string Version = "4.5.1.3"; public const string EncryptionHash = "8zf5#RdyQ]$4x4_"; public const string ApiUrl = "https://api.github.com/repos/weexnes/weexnessuite/releases/latest"; } diff --git a/WeeXnes/WeeXnes.csproj b/WeeXnes/WeeXnes.csproj index 70a22f2..6d2abb0 100644 --- a/WeeXnes/WeeXnes.csproj +++ b/WeeXnes/WeeXnes.csproj @@ -4,7 +4,7 @@ Debug AnyCPU - 4.5.1.2 + 4.5.1.3 {4B33CEE7-C74D-43B9-B99A-8B273D5195BC} WinExe WeeXnes