Debugger: Fixed debug workspace not being saved when closing main window

This commit is contained in:
Sour 2019-07-25 22:59:48 -04:00
parent 0e7dd11cf2
commit 79ce1875c8

View file

@ -129,6 +129,9 @@ namespace Mesen.GUI.Forms
return;
}
DebugApi.ResumeExecution();
DebugWindowManager.CloseAll();
ConfigManager.Config.WindowLocation = this.WindowState == FormWindowState.Normal ? this.Location : this.RestoreBounds.Location;
ConfigManager.Config.WindowSize = this.WindowState == FormWindowState.Normal ? this.Size : this.RestoreBounds.Size;
ConfigManager.ApplyChanges();