summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/disassembler.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-29 06:01:41 +0200
committerbunnei <bunneidev@gmail.com>2015-05-02 00:34:42 +0200
commit43cf42490730d8a1b980aa1fe9ebbbe1249232ef (patch)
treebdaa812eed455d85517130934e4cf17bd56c6d0b /src/citra_qt/debugger/disassembler.h
parentQt: Restructured to remove unnecessary shutdown event and various cleanups. (diff)
downloadyuzu-43cf42490730d8a1b980aa1fe9ebbbe1249232ef.tar
yuzu-43cf42490730d8a1b980aa1fe9ebbbe1249232ef.tar.gz
yuzu-43cf42490730d8a1b980aa1fe9ebbbe1249232ef.tar.bz2
yuzu-43cf42490730d8a1b980aa1fe9ebbbe1249232ef.tar.lz
yuzu-43cf42490730d8a1b980aa1fe9ebbbe1249232ef.tar.xz
yuzu-43cf42490730d8a1b980aa1fe9ebbbe1249232ef.tar.zst
yuzu-43cf42490730d8a1b980aa1fe9ebbbe1249232ef.zip
Diffstat (limited to 'src/citra_qt/debugger/disassembler.h')
-rw-r--r--src/citra_qt/debugger/disassembler.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/disassembler.h b/src/citra_qt/debugger/disassembler.h
index d9e32dbdf..b771e95b7 100644
--- a/src/citra_qt/debugger/disassembler.h
+++ b/src/citra_qt/debugger/disassembler.h
@@ -13,7 +13,7 @@
#include "common/break_points.h"
class QAction;
-class GMainWindow;
+class EmuThread;
class DisassemblerModel : public QAbstractListModel
{
@@ -51,7 +51,7 @@ class DisassemblerWidget : public QDockWidget
Q_OBJECT
public:
- DisassemblerWidget(QWidget* parent, GMainWindow& main_window);
+ DisassemblerWidget(QWidget* parent, EmuThread* emu_thread);
void Init();
@@ -65,6 +65,9 @@ public slots:
void OnDebugModeEntered();
void OnDebugModeLeft();
+ void OnEmulationStarted(EmuThread* emu_thread);
+ void OnEmulationStopped();
+
private:
// returns -1 if no row is selected
int SelectedRow();
@@ -75,5 +78,5 @@ private:
u32 base_addr;
- GMainWindow& main_window;
+ EmuThread* emu_thread;
};