From 369bdbe9a6de39e35cf6cf18ff541614c013cada Mon Sep 17 00:00:00 2001 From: Thompson Lee Date: Sat, 2 Jul 2022 00:39:03 -0400 Subject: [PATCH] Fixed the "To PC" button not updating the disassembler view (squashed PR #3299) * Fixed the "To PC" button from not updating the disassembler view in the Debugger window. * Fixed the calls being reversed, per feedback. --- src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs b/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs index 85703a43d6..58bc97af1b 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Debugger/GenericDebugger.cs @@ -293,7 +293,9 @@ namespace BizHawk.Client.EmuHawk private void ToPCBtn_Click(object sender, EventArgs e) { + UpdatePC(); UpdateDisassembler(); + DisassemblerView.Refresh(); } private void RefreshMenuItem_Click(object sender, EventArgs e)