Debugger: Lua Test Runner - Load labels before launching lua scripts

This commit is contained in:
Sour 2020-01-18 20:22:27 -05:00
parent 9351397e83
commit ae4a2f29d3

View file

@ -1,4 +1,5 @@
using Mesen.GUI.Config;
using Mesen.GUI.Debugger;
using System;
using System.Collections.Generic;
using System.IO;
@ -40,6 +41,8 @@ namespace Mesen.GUI
InteropEmu.LoadROM(romPath, string.Empty);
DebugWorkspaceManager.GetWorkspace();
foreach(string luaScript in luaScriptsToLoad) {
try {
string script = File.ReadAllText(luaScript);