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.
This commit is contained in:
parent
f1964f90d6
commit
6f54c3207c
|
@ -251,7 +251,6 @@ void SingleStep()
|
|||
|
||||
void RunLoop()
|
||||
{
|
||||
Host_UpdateDisasmDialog();
|
||||
s_cpu_core_base->Run();
|
||||
Host_UpdateDisasmDialog();
|
||||
}
|
||||
|
|
|
@ -365,6 +365,7 @@ void CCodeWindow::StepOut()
|
|||
|
||||
JumpToAddress(PC);
|
||||
Update();
|
||||
Host_UpdateDisasmDialog();
|
||||
|
||||
UpdateButtonStates();
|
||||
// Update all toolbars in the aui manager
|
||||
|
|
Loading…
Reference in New Issue