mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 09:55:45 +00:00
configuration_shared: Break up tracker structs to respective classes
One less global variable.
This commit is contained in:
parent
54f4eba5a9
commit
3676efbf03
12 changed files with 58 additions and 49 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <memory>
|
||||
#include <QWidget>
|
||||
#include "yuzu/configuration/configuration_shared.h"
|
||||
|
||||
namespace Ui {
|
||||
class ConfigureGraphicsAdvanced;
|
||||
|
@ -29,4 +30,12 @@ private:
|
|||
void SetupPerGameUI();
|
||||
|
||||
std::unique_ptr<Ui::ConfigureGraphicsAdvanced> ui;
|
||||
|
||||
struct Trackers {
|
||||
ConfigurationShared::CheckState use_vsync;
|
||||
ConfigurationShared::CheckState use_assembly_shaders;
|
||||
ConfigurationShared::CheckState use_asynchronous_shaders;
|
||||
ConfigurationShared::CheckState use_fast_gpu_time;
|
||||
ConfigurationShared::CheckState force_30fps_mode;
|
||||
} trackers;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue