configuration_shared: Break up tracker structs to respective classes
One less global variable.
This commit is contained in:
parent
e483ed21eb
commit
0d462f5608
12 changed files with 58 additions and 49 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <QString>
|
||||
#include <QWidget>
|
||||
#include "core/settings.h"
|
||||
#include "yuzu/configuration/configuration_shared.h"
|
||||
|
||||
namespace Ui {
|
||||
class ConfigureGraphics;
|
||||
|
@ -42,6 +43,11 @@ private:
|
|||
std::unique_ptr<Ui::ConfigureGraphics> ui;
|
||||
QColor bg_color;
|
||||
|
||||
struct Trackers {
|
||||
ConfigurationShared::CheckState use_disk_shader_cache;
|
||||
ConfigurationShared::CheckState use_asynchronous_gpu_emulation;
|
||||
} trackers;
|
||||
|
||||
std::vector<QString> vulkan_devices;
|
||||
u32 vulkan_device{};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue