citra-emu
/
citra-canary
Archived
1
0
Fork 0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
citra-canary/src/citra_qt/disasm.hxx

43 lines
703 B
C++
Raw Normal View History

2014-04-01 02:26:50 +00:00
#include <QDockWidget>
#include "ui_disasm.h"
2014-04-11 00:50:10 +00:00
#include "common/common.h"
#include "common/break_points.h"
2014-04-01 02:26:50 +00:00
class QAction;
class QStandardItemModel;
class EmuThread;
class GDisAsmView : public QDockWidget
{
Q_OBJECT
public:
GDisAsmView(QWidget* parent, EmuThread& emu_thread);
2014-04-04 01:24:07 +00:00
void Init();
2014-04-01 02:26:50 +00:00
public slots:
void OnSetBreakpoint();
2014-04-04 01:24:07 +00:00
void OnContinue();
2014-04-01 02:26:50 +00:00
void OnStep();
2014-04-04 01:24:07 +00:00
void OnStepInto();
2014-04-01 02:26:50 +00:00
void OnPause();
2014-04-04 01:24:07 +00:00
void OnToggleStartStop();
2014-04-01 02:26:50 +00:00
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;
};