Address some comments
This commit is contained in:
parent
c9e3820dac
commit
54af6910a5
2 changed files with 4 additions and 6 deletions
|
@ -425,7 +425,6 @@ namespace Ryujinx.Configuration
|
||||||
ButtonMinus = ControllerInputId.Button6,
|
ButtonMinus = ControllerInputId.Button6,
|
||||||
ButtonL = ControllerInputId.Button4,
|
ButtonL = ControllerInputId.Button4,
|
||||||
ButtonZl = ControllerInputId.Axis2,
|
ButtonZl = ControllerInputId.Axis2,
|
||||||
|
|
||||||
},
|
},
|
||||||
RightJoycon = new NpadControllerRight
|
RightJoycon = new NpadControllerRight
|
||||||
{
|
{
|
||||||
|
@ -446,7 +445,7 @@ namespace Ryujinx.Configuration
|
||||||
{
|
{
|
||||||
if (configurationFileFormat.Version != 1 && configurationFileFormat.Version != 0)
|
if (configurationFileFormat.Version != 1 && configurationFileFormat.Version != 0)
|
||||||
{
|
{
|
||||||
Common.Logging.Logger.PrintWarning(LogClass.Application, $"Unsupported configuration version {configurationFileFormat.Version}, loading default!");
|
Common.Logging.Logger.PrintWarning(LogClass.Application, $"Unsupported configuration version {configurationFileFormat.Version}, loading default.");
|
||||||
|
|
||||||
LoadDefault();
|
LoadDefault();
|
||||||
|
|
||||||
|
@ -495,7 +494,7 @@ namespace Ryujinx.Configuration
|
||||||
{
|
{
|
||||||
if (Instance != null)
|
if (Instance != null)
|
||||||
{
|
{
|
||||||
throw new InvalidOperationException("Configuration is already initialized!");
|
throw new InvalidOperationException("Configuration is already initialized");
|
||||||
}
|
}
|
||||||
|
|
||||||
Instance = new ConfigurationState();
|
Instance = new ConfigurationState();
|
||||||
|
|
|
@ -42,8 +42,7 @@ namespace Ryujinx.Common.Logging
|
||||||
AddTarget(new AsyncLogTargetWrapper(
|
AddTarget(new AsyncLogTargetWrapper(
|
||||||
new ConsoleLogTarget("console"),
|
new ConsoleLogTarget("console"),
|
||||||
1000,
|
1000,
|
||||||
AsyncLogTargetOverflowAction.Block
|
AsyncLogTargetOverflowAction.Block));
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void RestartTime()
|
public static void RestartTime()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue