Debugger: Lua Test Runner - Load labels before launching lua scripts
This commit is contained in:
parent
9351397e83
commit
ae4a2f29d3
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
using Mesen.GUI.Config;
|
using Mesen.GUI.Config;
|
||||||
|
using Mesen.GUI.Debugger;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -40,6 +41,8 @@ namespace Mesen.GUI
|
||||||
|
|
||||||
InteropEmu.LoadROM(romPath, string.Empty);
|
InteropEmu.LoadROM(romPath, string.Empty);
|
||||||
|
|
||||||
|
DebugWorkspaceManager.GetWorkspace();
|
||||||
|
|
||||||
foreach(string luaScript in luaScriptsToLoad) {
|
foreach(string luaScript in luaScriptsToLoad) {
|
||||||
try {
|
try {
|
||||||
string script = File.ReadAllText(luaScript);
|
string script = File.ReadAllText(luaScript);
|
||||||
|
|
Loading…
Add table
Reference in a new issue