diff options
Diffstat (limited to 'src/citra_qt/debugger/disassembler.h')
| -rw-r--r-- | src/citra_qt/debugger/disassembler.h | 9 |
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 @@ | |||
| 13 | #include "common/break_points.h" | 13 | #include "common/break_points.h" |
| 14 | 14 | ||
| 15 | class QAction; | 15 | class QAction; |
| 16 | class GMainWindow; | 16 | class EmuThread; |
| 17 | 17 | ||
| 18 | class DisassemblerModel : public QAbstractListModel | 18 | class DisassemblerModel : public QAbstractListModel |
| 19 | { | 19 | { |
| @@ -51,7 +51,7 @@ class DisassemblerWidget : public QDockWidget | |||
| 51 | Q_OBJECT | 51 | Q_OBJECT |
| 52 | 52 | ||
| 53 | public: | 53 | public: |
| 54 | DisassemblerWidget(QWidget* parent, GMainWindow& main_window); | 54 | DisassemblerWidget(QWidget* parent, EmuThread* emu_thread); |
| 55 | 55 | ||
| 56 | void Init(); | 56 | void Init(); |
| 57 | 57 | ||
| @@ -65,6 +65,9 @@ public slots: | |||
| 65 | void OnDebugModeEntered(); | 65 | void OnDebugModeEntered(); |
| 66 | void OnDebugModeLeft(); | 66 | void OnDebugModeLeft(); |
| 67 | 67 | ||
| 68 | void OnEmulationStarted(EmuThread* emu_thread); | ||
| 69 | void OnEmulationStopped(); | ||
| 70 | |||
| 68 | private: | 71 | private: |
| 69 | // returns -1 if no row is selected | 72 | // returns -1 if no row is selected |
| 70 | int SelectedRow(); | 73 | int SelectedRow(); |
| @@ -75,5 +78,5 @@ private: | |||
| 75 | 78 | ||
| 76 | u32 base_addr; | 79 | u32 base_addr; |
| 77 | 80 | ||
| 78 | GMainWindow& main_window; | 81 | EmuThread* emu_thread; |
| 79 | }; | 82 | }; |