Merge pull request #59 from AlchemicRaker/feature/load-dbg-with-scripts

Load .dbg file when launched with scripts
This commit is contained in:
NovaSquirrel 2021-11-09 18:35:36 -05:00 committed by GitHub
commit 6a8b715245
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -691,7 +691,7 @@ namespace Mesen.GUI.Forms
this.StartEmuThread();
this.BeginInvoke((MethodInvoker)(() => {
if(DebugWindowManager.HasOpenedWindow) {
if(DebugWindowManager.HasOpenedWindow || _luaScriptsToLoad.Count > 0) {
DebugWorkspaceManager.GetWorkspace();
DebugWorkspaceManager.AutoLoadDbgFiles(true);
}