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:
aldelaro5 2016-09-05 23:45:24 -04:00
parent f1964f90d6
commit 6f54c3207c
2 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,6 @@ void SingleStep()
void RunLoop()
{
Host_UpdateDisasmDialog();
s_cpu_core_base->Run();
Host_UpdateDisasmDialog();
}

View File

@ -365,6 +365,7 @@ void CCodeWindow::StepOut()
JumpToAddress(PC);
Update();
Host_UpdateDisasmDialog();
UpdateButtonStates();
// Update all toolbars in the aui manager