System Language can be configurable. (#535)
This commit is contained in:
parent
5d14040e66
commit
5b029ae7a2
3 changed files with 23 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
using LibHac;
|
||||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.HLE;
|
||||
using Ryujinx.HLE.HOS.SystemState;
|
||||
using Ryujinx.HLE.Input;
|
||||
using Ryujinx.UI.Input;
|
||||
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.EnableDeviceVsync = Convert.ToBoolean(parser.Value("Enable_Vsync"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue