mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-11-16 12:13:44 +00:00
42 lines
880 B
C++
42 lines
880 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "ui_registers.h"
|
|
|
|
#include <QDockWidget>
|
|
#include <QTreeWidgetItem>
|
|
|
|
class QTreeWidget;
|
|
class EmuThread;
|
|
|
|
class RegistersWidget : public QDockWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
RegistersWidget(QWidget* parent = NULL);
|
|
|
|
public slots:
|
|
void OnDebugModeEntered();
|
|
void OnDebugModeLeft();
|
|
|
|
void OnEmulationStarting(EmuThread* emu_thread);
|
|
void OnEmulationStopping();
|
|
|
|
private:
|
|
void CreateCPSRChildren();
|
|
void UpdateCPSRValues();
|
|
|
|
void CreateVFPSystemRegisterChildren();
|
|
void UpdateVFPSystemRegisterValues();
|
|
|
|
Ui::ARMRegisters cpu_regs_ui;
|
|
|
|
QTreeWidget* tree;
|
|
|
|
QTreeWidgetItem* core_registers;
|
|
QTreeWidgetItem* vfp_registers;
|
|
QTreeWidgetItem* vfp_system_registers;
|
|
QTreeWidgetItem* cpsr;
|
|
};
|