diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 16:56:44 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-07-08 16:56:44 -0400 |
| commit | dc06e11a7ba24c6052cad2c45584c628a8188274 (patch) | |
| tree | c8697be31d6578fd490e7623e664a3d17943adfb /src/yuzu/configuration/configure_debug_tab.h | |
| parent | eebf39b3c0a92f85168fb31438fad1d93b92bb4c (diff) | |
settings, arm_dynarmic, yuzu qt: Move CPU debugging option
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.
Diffstat (limited to 'src/yuzu/configuration/configure_debug_tab.h')
| -rw-r--r-- | src/yuzu/configuration/configure_debug_tab.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_debug_tab.h b/src/yuzu/configuration/configure_debug_tab.h new file mode 100644 index 000000000..0a96d43d0 --- /dev/null +++ b/src/yuzu/configuration/configure_debug_tab.h @@ -0,0 +1,32 @@ +// 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; +}; |
