yuzu/src/citra_qt/debugger/registers.h

35 lines
648 B
C
Raw Normal View History

// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "ui_registers.h"
2014-04-01 04:26:50 +02:00
#include <QDockWidget>
#include <QTreeWidgetItem>
class QTreeWidget;
class EmuThread;
2014-04-01 04:26:50 +02:00
2014-04-19 00:30:53 +02:00
class RegistersWidget : public QDockWidget
2014-04-01 04:26:50 +02:00
{
Q_OBJECT
public:
2014-04-19 00:30:53 +02:00
RegistersWidget(QWidget* parent = NULL);
2014-04-01 04:26:50 +02:00
public slots:
void OnDebugModeEntered();
void OnDebugModeLeft();
2014-04-01 04:26:50 +02:00
void OnEmulationStarting(EmuThread* emu_thread);
void OnEmulationStopping();
2014-04-01 04:26:50 +02:00
private:
Ui::ARMRegisters cpu_regs_ui;
2014-04-01 04:26:50 +02:00
QTreeWidget* tree;
QTreeWidgetItem* registers;
QTreeWidgetItem* CSPR;
2014-04-01 04:26:50 +02:00
};