0
0
Fork 0

ui: fix major regression on SaveConfig

This commit is contained in:
Thog 2020-05-03 12:08:21 +02:00
parent 538fba826b
commit afecb551c5
2 changed files with 3 additions and 1 deletions

View file

@ -914,6 +914,8 @@ namespace Ryujinx.Ui
} }
} }
MainWindow.SaveConfig();
Dispose(); Dispose();
} }

View file

@ -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)