Qt/CodeViewWidget: Don't try to pause emulator in Update() if we happen to be on a breakpoint.

This commit is contained in:
Admiral H. Curtiss 2023-02-20 02:56:04 +01:00
parent ae7fc074f8
commit ef1520c2c6
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -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();