summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/disassembler.cpp
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-01-11 21:28:18 +0100
committerTony Wasserka <neobrainx@gmail.com>2015-01-11 21:28:18 +0100
commitf1080de47d22bec2b55947718cc7f489bfd0c6ba (patch)
tree35383951c562a1a73b1f8b6a78241cd3259ab727 /src/citra_qt/debugger/disassembler.cpp
parentMerge pull request #465 from chinhodado/appveyor (diff)
parentcitra-qt: Replace OnCpuStepped signal by new signals DebugModeEntered and DebugModeLeft (diff)
downloadyuzu-f1080de47d22bec2b55947718cc7f489bfd0c6ba.tar
yuzu-f1080de47d22bec2b55947718cc7f489bfd0c6ba.tar.gz
yuzu-f1080de47d22bec2b55947718cc7f489bfd0c6ba.tar.bz2
yuzu-f1080de47d22bec2b55947718cc7f489bfd0c6ba.tar.lz
yuzu-f1080de47d22bec2b55947718cc7f489bfd0c6ba.tar.xz
yuzu-f1080de47d22bec2b55947718cc7f489bfd0c6ba.tar.zst
yuzu-f1080de47d22bec2b55947718cc7f489bfd0c6ba.zip
Diffstat (limited to 'src/citra_qt/debugger/disassembler.cpp')
-rw-r--r--src/citra_qt/debugger/disassembler.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/disassembler.cpp b/src/citra_qt/debugger/disassembler.cpp
index da084ab24..c61ace925 100644
--- a/src/citra_qt/debugger/disassembler.cpp
+++ b/src/citra_qt/debugger/disassembler.cpp
@@ -235,7 +235,7 @@ void DisassemblerWidget::OnToggleStartStop()
emu_thread.SetCpuRunning(!emu_thread.IsCpuRunning());
}
-void DisassemblerWidget::OnCPUStepped()
+void DisassemblerWidget::OnDebugModeEntered()
{
ARMword next_instr = Core::g_app_core->GetPC();
@@ -252,6 +252,11 @@ void DisassemblerWidget::OnCPUStepped()
disasm_ui.treeView->selectionModel()->setCurrentIndex(model_index, QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows);
}
+void DisassemblerWidget::OnDebugModeLeft()
+{
+
+}
+
int DisassemblerWidget::SelectedRow()
{
QModelIndex index = disasm_ui.treeView->selectionModel()->currentIndex();