diff options
author | Mathieu Vaillancourt <vaillancourtm@gmail.com> | 2014-04-19 00:30:53 +0200 |
---|---|---|
committer | Mathieu Vaillancourt <vaillancourtm@gmail.com> | 2014-04-19 00:34:23 +0200 |
commit | e5f09b8be65c06927164428b5d400024e2388dbc (patch) | |
tree | 0f0fd4035bcc88c0de5a47a7d3c64b4f67453897 /src/citra_qt/callstack.cpp | |
parent | Merge branch 'hle-interface' (diff) | |
download | yuzu-e5f09b8be65c06927164428b5d400024e2388dbc.tar yuzu-e5f09b8be65c06927164428b5d400024e2388dbc.tar.gz yuzu-e5f09b8be65c06927164428b5d400024e2388dbc.tar.bz2 yuzu-e5f09b8be65c06927164428b5d400024e2388dbc.tar.lz yuzu-e5f09b8be65c06927164428b5d400024e2388dbc.tar.xz yuzu-e5f09b8be65c06927164428b5d400024e2388dbc.tar.zst yuzu-e5f09b8be65c06927164428b5d400024e2388dbc.zip |
Diffstat (limited to 'src/citra_qt/callstack.cpp')
-rw-r--r-- | src/citra_qt/callstack.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/citra_qt/callstack.cpp b/src/citra_qt/callstack.cpp deleted file mode 100644 index 2d62cb0d0..000000000 --- a/src/citra_qt/callstack.cpp +++ /dev/null @@ -1,36 +0,0 @@ -#include <QStandardItemModel> -#include "callstack.hxx" - -//#include "debugger/debugger.h" - -GCallstackView::GCallstackView(QWidget* parent): QDockWidget(parent) -{ - ui.setupUi(this); - - callstack_model = new QStandardItemModel(this); - callstack_model->setColumnCount(3); - callstack_model->setHeaderData(0, Qt::Horizontal, "Depth"); - callstack_model->setHeaderData(1, Qt::Horizontal, "Address"); - callstack_model->setHeaderData(2, Qt::Horizontal, "Function Name"); - ui.treeView->setModel(callstack_model); - - // TODO: Make single clicking a callstack entry jump to the corresponding disassembly position -} - -void GCallstackView::OnCPUStepped() -{ - /* - Debugger::Callstack callstack; - Debugger::GetCallstack(callstack); - callstack_model->setRowCount(callstack.size()); - - for (int i = 0; i < callstack.size(); ++i) - for (Debugger::CallstackIterator it = callstack.begin(); it != callstack.end(); ++it) - { - Debugger::CallstackEntry entry = callstack[i]; - callstack_model->setItem(i, 0, new QStandardItem(QString("%1").arg(i+1))); - callstack_model->setItem(i, 1, new QStandardItem(QString("0x%1").arg(entry.addr, 8, 16, QLatin1Char('0')))); - callstack_model->setItem(i, 2, new QStandardItem(QString::fromStdString(entry.name))); - } - */ -}
\ No newline at end of file |