dc06e11a7b
Decouples the CPU debugging mode from the enumeration to its own boolean. After this, it moves the CPU Debugging tab over to a sub tab underneath the Debug tab in the configuration UI.
32 lines
616 B
C++
32 lines
616 B
C++
// Copyright 2021 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <QWidget>
|
|
|
|
namespace Ui {
|
|
class ConfigureDebugTab;
|
|
}
|
|
|
|
class ConfigureDebugTab : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureDebugTab(QWidget* parent = nullptr);
|
|
~ConfigureDebugTab() override;
|
|
|
|
void ApplyConfiguration();
|
|
|
|
void SetCurrentIndex(int index);
|
|
|
|
private:
|
|
void changeEvent(QEvent* event) override;
|
|
void RetranslateUI();
|
|
|
|
void SetConfiguration();
|
|
|
|
std::unique_ptr<Ui::ConfigureDebugTab> ui;
|
|
};
|