mirror of https://github.com/mgba-emu/mgba.git
Qt: Lay groundwork for adding GB IO register descriptions
This commit is contained in:
parent
17253f5760
commit
418c3c40ce
File diff suppressed because it is too large
Load Diff
|
@ -8,6 +8,8 @@
|
|||
#include <QDialog>
|
||||
#include <QList>
|
||||
|
||||
#include <mgba/core/core.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "ui_IOViewer.h"
|
||||
|
@ -42,7 +44,7 @@ public:
|
|||
|
||||
IOViewer(std::shared_ptr<CoreController> controller, QWidget* parent = nullptr);
|
||||
|
||||
static const QList<RegisterDescription>& registerDescriptions();
|
||||
static const QList<RegisterDescription>& registerDescriptions(mPlatform);
|
||||
|
||||
signals:
|
||||
void valueChanged();
|
||||
|
@ -58,8 +60,10 @@ private slots:
|
|||
void selectRegister();
|
||||
|
||||
private:
|
||||
static QList<RegisterDescription> s_registers;
|
||||
static QHash<mPlatform, QList<RegisterDescription>> s_registers;
|
||||
Ui::IOViewer m_ui;
|
||||
uint32_t m_base;
|
||||
int m_width;
|
||||
|
||||
int m_register;
|
||||
uint16_t m_value;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue