Load .dbg file when launched with scripts

This commit is contained in:
Zachery Delafosse 2021-11-09 17:29:47 -06:00
parent c5d65fadd9
commit 486bebe2d4

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);
}