forked from Mirror/Ryujinx
ui: fix major regression on SaveConfig
This commit is contained in:
parent
538fba826b
commit
afecb551c5
2 changed files with 3 additions and 1 deletions
|
@ -914,6 +914,8 @@ namespace Ryujinx.Ui
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MainWindow.SaveConfig();
|
||||||
|
|
||||||
Dispose();
|
Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -558,7 +558,7 @@ namespace Ryujinx.Ui
|
||||||
|
|
||||||
public static void SaveConfig()
|
public static void SaveConfig()
|
||||||
{
|
{
|
||||||
ConfigurationState.Instance.ToFileFormat().SaveConfig(System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Config.json"));
|
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void End(HLE.Switch device)
|
private void End(HLE.Switch device)
|
||||||
|
|
Loading…
Reference in a new issue