Set the default culture to InvariantCulture

This mainly affects some C# string conversions (ToString and Parse).
This commit is contained in:
Maik Macho 2018-09-03 16:46:36 +02:00
parent 675f3f6f81
commit 3df2112be7
No known key found for this signature in database
GPG key ID: 21C91DB3ADE0B6D5

View file

@ -4,6 +4,7 @@ using Ryujinx.Graphics.Gal;
using Ryujinx.Graphics.Gal.OpenGL;
using Ryujinx.HLE;
using System;
using System.Globalization;
using System.IO;
namespace Ryujinx
@ -14,6 +15,9 @@ namespace Ryujinx
{
Console.Title = "Ryujinx Console";
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;
IGalRenderer Renderer = new OGLRenderer();
IAalOutput AudioOut = new OpenALAudioOut();