summaryrefslogblamecommitdiffstats
path: root/src/citra_qt/disasm.hxx
blob: 0c5a37cac5ebcdeecfcf7f7beaec50c70bde0636 (plain) (tree)
1
2
3
4
5


                      

                                











                                                        

                

                           
                      
                  
                      
                   
                             















                                       
#include <QDockWidget>
#include "ui_disasm.h"

#include "common/common.h"
#include "common/break_points.h"

class QAction;
class QStandardItemModel;
class EmuThread;

class GDisAsmView : public QDockWidget
{
    Q_OBJECT

public:
    GDisAsmView(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;
};