mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #11587 from AdmiralCurtiss/code-view-breakpoint-logic
Qt/CodeViewWidget: Small fixes to Update().
This commit is contained in:
commit
c7f48c8f28
@ -293,10 +293,7 @@ void CodeViewWidget::Update(const Core::CPUThreadGuard* guard)
|
||||
for (int i = 0; i < rows; i++)
|
||||
setRowHeight(i, rowh);
|
||||
|
||||
u32 pc = PowerPC::ppcState.pc;
|
||||
|
||||
if (Core::GetState() != Core::State::Paused && PowerPC::debug_interface.IsBreakpoint(pc))
|
||||
Core::SetState(Core::State::Paused);
|
||||
const std::optional<u32> pc = guard ? std::make_optional(PowerPC::ppcState.pc) : std::nullopt;
|
||||
|
||||
const bool dark_theme = qApp->palette().color(QPalette::Base).valueF() < 0.5;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user