configuration_shared: Break up tracker structs to respective classes

One less global variable.
This commit is contained in:
lat9nq 2020-07-14 13:55:47 -04:00
parent e483ed21eb
commit 0d462f5608
12 changed files with 58 additions and 49 deletions

View file

@ -22,25 +22,6 @@ enum CheckState {
Count,
};
struct Trackers {
CheckState use_frame_limit;
CheckState use_multi_core;
CheckState enable_audio_stretching;
CheckState use_disk_shader_cache;
CheckState use_asynchronous_gpu_emulation;
CheckState use_vsync;
CheckState use_assembly_shaders;
CheckState use_asynchronous_shaders;
CheckState use_fast_gpu_time;
CheckState force_30fps_mode;
CheckState use_rng_seed;
CheckState use_custom_rtc;
} extern trackers;
// Global-aware apply and set functions
void ApplyPerGameSetting(Settings::Setting<bool>* setting, const QCheckBox* checkbox,