Debugger: Fixed labels disappearing from the code window after a power cycle
This commit is contained in:
parent
2aaac25956
commit
e5107d3b21
2 changed files with 7 additions and 0 deletions
|
@ -197,6 +197,12 @@ namespace Mesen.GUI.Debugger
|
|||
}
|
||||
}
|
||||
|
||||
public static void RefreshLabels()
|
||||
{
|
||||
InteropEmu.DebugDeleteLabels();
|
||||
LabelManager.SetLabels(GetLabels(), true);
|
||||
}
|
||||
|
||||
private const int FdsMapperID = 65535;
|
||||
private const int NsfMapperID = 65534;
|
||||
|
||||
|
|
|
@ -519,6 +519,7 @@ namespace Mesen.GUI.Debugger
|
|||
bool breakOnReset = ConfigManager.Config.DebugInfo.BreakOnReset && !InteropEmu.IsNsf();
|
||||
this.BeginInvoke((MethodInvoker)(() => {
|
||||
this.UpdateWorkspace();
|
||||
LabelManager.RefreshLabels();
|
||||
this.AutoLoadCdlFiles();
|
||||
DebugWorkspaceManager.AutoLoadDbgFiles(true);
|
||||
UpdateDebugger(true, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue