diff options
| author | Mat M <mathew1800@gmail.com> | 2018-04-17 10:20:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-17 10:20:30 -0400 |
| commit | b19d77a3ff6de6af19bbab6ce52a1a47d54717a9 (patch) | |
| tree | 318b53213c6fa0dcbf10e0bea2aeab2607036e36 /Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp | |
| parent | e04592e6c4c26ecd06a6afb5be370f98ad8878ca (diff) | |
| parent | 69ad94997c4efbe4005dd71b333b309a06a9767d (diff) | |
Merge pull request #6660 from leoetlino/pause
Qt/Debugger: Don't pause when already paused
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp index 1130ca7e7b..b04766f814 100644 --- a/Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt2/Debugger/CodeViewWidget.cpp @@ -98,7 +98,7 @@ void CodeViewWidget::Update() u32 pc = PowerPC::ppcState.pc; - if (PowerPC::debug_interface.IsBreakpoint(pc)) + if (Core::GetState() != Core::State::Paused && PowerPC::debug_interface.IsBreakpoint(pc)) Core::SetState(Core::State::Paused); for (int i = 0; i < rowCount(); i++) |
