Now NESNameTableViewer, NESPPU, NESDebugger, Cheats, TI83KeyPad, TAStudio should save the settings correctly.
This commit is contained in:
parent
3a6ac596bf
commit
ecf9e6efc0
|
@ -2243,15 +2243,23 @@ namespace BizHawk.MultiClient
|
|||
Global.Config.MainWndx = -1;
|
||||
Global.Config.MainWndy = -1;
|
||||
}
|
||||
if (RamWatch1.IsHandleCreated)
|
||||
RamWatch1.SaveConfigSettings();
|
||||
if (RamSearch1.IsHandleCreated)
|
||||
RamSearch1.SaveConfigSettings();
|
||||
if (!HexEditor1.IsDisposed)
|
||||
HexEditor1.SaveConfigSettings();
|
||||
CloseForm(RamWatch1);
|
||||
CloseForm(RamSearch1);
|
||||
CloseForm(HexEditor1);
|
||||
CloseForm(NESNameTableViewer1);
|
||||
CloseForm(NESPPU1);
|
||||
CloseForm(NESDebug1);
|
||||
CloseForm(Cheats1);
|
||||
CloseForm(TI83KeyPad1);
|
||||
CloseForm(TAStudio1);
|
||||
ConfigService.Save(PathManager.DefaultIniPath, Global.Config);
|
||||
}
|
||||
|
||||
private void CloseForm(Form form)
|
||||
{
|
||||
if (form.IsHandleCreated) form.Close();
|
||||
}
|
||||
|
||||
private void PreviousSlot()
|
||||
{
|
||||
if (Global.Config.SaveSlot == 0)
|
||||
|
|
Loading…
Reference in New Issue