mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-08 20:02:39 +00:00
Fixed problems in the configuration file with different regions
This commit is contained in:
parent
6a4cabba1e
commit
d0be618495
1 changed files with 4 additions and 2 deletions
|
@ -37,8 +37,10 @@ namespace Ryujinx
|
||||||
|
|
||||||
GamePadEnable = Convert.ToBoolean(Parser.Value("GamePad_Enable"));
|
GamePadEnable = Convert.ToBoolean(Parser.Value("GamePad_Enable"));
|
||||||
GamePadIndex = Convert.ToInt32 (Parser.Value("GamePad_Index"));
|
GamePadIndex = Convert.ToInt32 (Parser.Value("GamePad_Index"));
|
||||||
GamePadDeadzone = (float)Convert.ToDouble (Parser.Value("GamePad_Deadzone"));
|
GamePadDeadzone = (float)Convert.ToDouble (Parser.Value("GamePad_Deadzone"),
|
||||||
GamePadTriggerThreshold = (float)Convert.ToDouble (Parser.Value("GamePad_Trigger_Threshold"));
|
System.Globalization.CultureInfo.InvariantCulture); // Remember to use Invariant Culture when dealing with parsing doubles.
|
||||||
|
GamePadTriggerThreshold = (float)Convert.ToDouble (Parser.Value("GamePad_Trigger_Threshold"),
|
||||||
|
System.Globalization.CultureInfo.InvariantCulture);
|
||||||
|
|
||||||
string[] FilteredLogClasses = Parser.Value("Logging_Filtered_Classes").Split(',', StringSplitOptions.RemoveEmptyEntries);
|
string[] FilteredLogClasses = Parser.Value("Logging_Filtered_Classes").Split(',', StringSplitOptions.RemoveEmptyEntries);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue