citra/src/citra_qt/debugger/registers.h

43 lines
879 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 02:26:50 +00:00
#include <QDockWidget>
class QTreeWidget;
2015-09-11 04:23:00 +00:00
class QTreeWidgetItem;
class EmuThread;
2014-04-01 02:26:50 +00:00
2014-04-18 22:30:53 +00:00
class RegistersWidget : public QDockWidget
2014-04-01 02:26:50 +00:00
{
Q_OBJECT
public:
RegistersWidget(QWidget* parent = nullptr);
2014-04-01 02:26:50 +00:00
public slots:
void OnDebugModeEntered();
void OnDebugModeLeft();
2014-04-01 02:26:50 +00:00
void OnEmulationStarting(EmuThread* emu_thread);
void OnEmulationStopping();
2014-04-01 02:26:50 +00:00
private:
void CreateCPSRChildren();
void UpdateCPSRValues();
void CreateVFPSystemRegisterChildren();
void UpdateVFPSystemRegisterValues();
Ui::ARMRegisters cpu_regs_ui;
2014-04-01 02:26:50 +00:00
QTreeWidget* tree;
QTreeWidgetItem* core_registers;
QTreeWidgetItem* vfp_registers;
QTreeWidgetItem* vfp_system_registers;
2015-08-07 01:11:25 +00:00
QTreeWidgetItem* cpsr;
2014-04-01 02:26:50 +00:00
};