Skip to content

Commit

Permalink
cleanup some debugger calls
Browse files Browse the repository at this point in the history
this also fixes double-load on start, which is especially noticeable in debug with waterbox cores
  • Loading branch information
Morilli committed Jan 2, 2025
1 parent 238e7bc commit 5f36cac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ private void UpdateDisassembler()
if (CanDisassemble)
{
Disassemble();
SetDisassemblerItemCount();
}
}

Expand Down Expand Up @@ -143,10 +142,7 @@ private void SetDisassemblerItemCount()
private void DisassemblerView_SizeChanged(object sender, EventArgs e)
{
SetDisassemblerItemCount();
if (CanDisassemble)
{
Disassemble();
}
UpdateDisassembler();
}

private void SmallIncrement()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public override void Restart()
UpdateCapabilitiesProps();
DisengageDebugger();
EngageDebugger();
FullUpdate();
}

protected override void GeneralUpdate() => FullUpdate();
Expand Down

0 comments on commit 5f36cac

Please sign in to comment.