summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-03-30 21:37:34 +0200
committerLioncash <mathew1800@gmail.com>2015-03-30 21:37:34 +0200
commite05d6220f58c96ed8da6d9e69a597808f50c2edc (patch)
treee46b6859d3c48dbc76eeb5af48ea344ec4b36fd5 /src/citra_qt
parentMerge pull request #672 from purpasmart96/citra_moar_app_mem (diff)
downloadyuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar
yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.gz
yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.bz2
yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.lz
yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.xz
yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.tar.zst
yuzu-e05d6220f58c96ed8da6d9e69a597808f50c2edc.zip
Diffstat (limited to 'src/citra_qt')
-rw-r--r--src/citra_qt/debugger/disassembler.cpp5
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()
{
ARMword next_instr = Core::g_app_core->GetPC();
- // TODO: Make BreakPoints less crappy (i.e. const-correct) so that this doesn't need a const_cast.
- if (const_cast<BreakPoints&>(model->GetBreakPoints()).IsAddressBreakPoint(next_instr))
- {
+ if (model->GetBreakPoints().IsAddressBreakPoint(next_instr))
emu_thread.SetCpuRunning(false);
- }
model->SetNextInstruction(next_instr);