summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/disassembler.hxx
diff options
context:
space:
mode:
authorMathieu Vaillancourt <vaillancourtm@gmail.com>2014-04-19 00:30:53 +0200
committerMathieu Vaillancourt <vaillancourtm@gmail.com>2014-04-19 00:34:23 +0200
commite5f09b8be65c06927164428b5d400024e2388dbc (patch)
tree0f0fd4035bcc88c0de5a47a7d3c64b4f67453897 /src/citra_qt/debugger/disassembler.hxx
parentMerge branch 'hle-interface' (diff)
downloadyuzu-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/debugger/disassembler.hxx')
-rw-r--r--src/citra_qt/debugger/disassembler.hxx42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/disassembler.hxx b/src/citra_qt/debugger/disassembler.hxx
new file mode 100644
index 000000000..e5b152d20
--- /dev/null
+++ b/src/citra_qt/debugger/disassembler.hxx
@@ -0,0 +1,42 @@
+#include <QDockWidget>
+#include "../ui_disassembler.h"
+
+#include "common/common.h"
+#include "common/break_points.h"
+
+class QAction;
+class QStandardItemModel;
+class EmuThread;
+
+class DisassemblerWidget : public QDockWidget
+{
+ Q_OBJECT
+
+public:
+ DisassemblerWidget(QWidget* parent, EmuThread& emu_thread);
+
+ void Init();
+
+public slots:
+ void OnSetBreakpoint();
+ void OnContinue();
+ void OnStep();
+ void OnStepInto();
+ void OnPause();
+ void OnToggleStartStop();
+
+ void OnCPUStepped();
+
+private:
+ // returns -1 if no row is selected
+ int SelectedRow();
+
+ Ui::DockWidget disasm_ui;
+ QStandardItemModel* model;
+
+ u32 base_addr;
+
+ BreakPoints* breakpoints;
+
+ EmuThread& emu_thread;
+};