Qt/CodeViewWidget: Don't try to pause emulator in Update() if we happen to be on a breakpoint.
This commit is contained in:
parent
ae7fc074f8
commit
ef1520c2c6
|
@ -295,9 +295,6 @@ void CodeViewWidget::Update(const Core::CPUThreadGuard* guard)
|
||||||
|
|
||||||
u32 pc = PowerPC::ppcState.pc;
|
u32 pc = PowerPC::ppcState.pc;
|
||||||
|
|
||||||
if (Core::GetState() != Core::State::Paused && PowerPC::debug_interface.IsBreakpoint(pc))
|
|
||||||
Core::SetState(Core::State::Paused);
|
|
||||||
|
|
||||||
const bool dark_theme = qApp->palette().color(QPalette::Base).valueF() < 0.5;
|
const bool dark_theme = qApp->palette().color(QPalette::Base).valueF() < 0.5;
|
||||||
|
|
||||||
m_branches.clear();
|
m_branches.clear();
|
||||||
|
|
Loading…
Reference in New Issue