Merge pull request #1 from HorrorTroll/LangCon
Language Config by HorrorTroll
This commit is contained in:
commit
fe472e60da
3 changed files with 9 additions and 2 deletions
|
@ -54,8 +54,6 @@ namespace Ryujinx.HLE.HOS.SystemState
|
||||||
|
|
||||||
public SystemStateMgr()
|
public SystemStateMgr()
|
||||||
{
|
{
|
||||||
SetLanguage(SystemLanguage.AmericanEnglish);
|
|
||||||
|
|
||||||
SetAudioOutputAsBuiltInSpeaker();
|
SetAudioOutputAsBuiltInSpeaker();
|
||||||
|
|
||||||
_profiles = new ConcurrentDictionary<string, UserProfile>();
|
_profiles = new ConcurrentDictionary<string, UserProfile>();
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
using LibHac;
|
using LibHac;
|
||||||
using Ryujinx.Common.Logging;
|
using Ryujinx.Common.Logging;
|
||||||
using Ryujinx.HLE;
|
using Ryujinx.HLE;
|
||||||
|
using Ryujinx.HLE.HOS.SystemState;
|
||||||
using Ryujinx.HLE.Input;
|
using Ryujinx.HLE.Input;
|
||||||
using Ryujinx.UI.Input;
|
using Ryujinx.UI.Input;
|
||||||
using System;
|
using System;
|
||||||
|
@ -61,6 +62,10 @@ namespace Ryujinx
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SystemLanguage SetLanguage = Enum.Parse<SystemLanguage>(parser.Value("System_Language"));
|
||||||
|
|
||||||
|
device.System.State.SetLanguage(SetLanguage);
|
||||||
|
|
||||||
device.System.State.DockedMode = Convert.ToBoolean(parser.Value("Docked_Mode"));
|
device.System.State.DockedMode = Convert.ToBoolean(parser.Value("Docked_Mode"));
|
||||||
|
|
||||||
device.EnableDeviceVsync = Convert.ToBoolean(parser.Value("Enable_Vsync"));
|
device.EnableDeviceVsync = Convert.ToBoolean(parser.Value("Enable_Vsync"));
|
||||||
|
|
|
@ -22,6 +22,10 @@ Logging_Enable_Error = true
|
||||||
#Filtered log classes, seperated by ", ", eg. `Logging_Filtered_Classes = Loader, ServiceFS`
|
#Filtered log classes, seperated by ", ", eg. `Logging_Filtered_Classes = Loader, ServiceFS`
|
||||||
Logging_Filtered_Classes =
|
Logging_Filtered_Classes =
|
||||||
|
|
||||||
|
#System Language list: https://gist.github.com/HorrorTroll/b6e4a88d774c3c9b3bdf54d79a7ca43b
|
||||||
|
#Change System Language
|
||||||
|
System_Language = AmericanEnglish
|
||||||
|
|
||||||
#Enable or Disable Docked Mode
|
#Enable or Disable Docked Mode
|
||||||
Docked_Mode = false
|
Docked_Mode = false
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue