mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 20:25:47 +00:00
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
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue