diff options
Diffstat (limited to 'src/citra_qt/debugger/disassembler.cpp')
| -rw-r--r-- | src/citra_qt/debugger/disassembler.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp index 54d21dc90..f620687ae 100644 --- a/src/citra_qt/debugger/disassembler.cpp +++ b/src/citra_qt/debugger/disassembler.cpp | |||
| @@ -232,11 +232,8 @@ void DisassemblerWidget::OnDebugModeEntered() | |||
| 232 | { | 232 | { |
| 233 | ARMword next_instr = Core::g_app_core->GetPC(); | 233 | ARMword next_instr = Core::g_app_core->GetPC(); |
| 234 | 234 | ||
| 235 | // TODO: Make BreakPoints less crappy (i.e. const-correct) so that this doesn't need a const_cast. | 235 | if (model->GetBreakPoints().IsAddressBreakPoint(next_instr)) |
| 236 | if (const_cast<BreakPoints&>(model->GetBreakPoints()).IsAddressBreakPoint(next_instr)) | ||
| 237 | { | ||
| 238 | emu_thread.SetCpuRunning(false); | 236 | emu_thread.SetCpuRunning(false); |
| 239 | } | ||
| 240 | 237 | ||
| 241 | model->SetNextInstruction(next_instr); | 238 | model->SetNextInstruction(next_instr); |
| 242 | 239 | ||