From 6f54c3207c801c94fc0eeaddb53222c6474dd7bb Mon Sep 17 00:00:00 2001 From: aldelaro5 Date: Mon, 5 Sep 2016 23:45:24 -0400 Subject: [PATCH] Fix registerView updates issues when stepping over or stepping out For step over, it was updating twice which actually made the red display on the register view (when a register changes since) malfunction. Since it doesn't seem to be usefull to update before AND after the run, the one before the run was removed. For step out, well, because there was no chances given for the thread to run as it is single stepping all the time, I only added a call to update after it was done. --- Source/Core/Core/PowerPC/PowerPC.cpp | 1 - Source/Core/DolphinWX/Debugger/CodeWindow.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp index 172ce0c36c..4a29e02e4b 100644 --- a/Source/Core/Core/PowerPC/PowerPC.cpp +++ b/Source/Core/Core/PowerPC/PowerPC.cpp @@ -251,7 +251,6 @@ void SingleStep() void RunLoop() { - Host_UpdateDisasmDialog(); s_cpu_core_base->Run(); Host_UpdateDisasmDialog(); } diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp index 66e87cf9dc..6989010b82 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp @@ -365,6 +365,7 @@ void CCodeWindow::StepOut() JumpToAddress(PC); Update(); + Host_UpdateDisasmDialog(); UpdateButtonStates(); // Update all toolbars in the aui manager