diff options
| author | 2023-06-19 16:41:15 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:55 -0400 | |
| commit | 3a7705e7744305bc788b948e9893b0b504a662df (patch) | |
| tree | d0e050fc67d568c96ea2791d9219ea6b7a690e86 /src/common | |
| parent | android-config: Update enum labels (diff) | |
| download | yuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar.gz yuzu-3a7705e7744305bc788b948e9893b0b504a662df.tar.xz yuzu-3a7705e7744305bc788b948e9893b0b504a662df.zip | |
settings: Move speed_limit to core
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 35fa4cf3d..c9fe6f045 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -143,6 +143,10 @@ struct Values { | |||
| 143 | SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", Category::Core}; | 143 | SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", Category::Core}; |
| 144 | SwitchableSetting<bool> use_unsafe_extended_memory_layout{ | 144 | SwitchableSetting<bool> use_unsafe_extended_memory_layout{ |
| 145 | linkage, false, "use_unsafe_extended_memory_layout", Category::Core}; | 145 | linkage, false, "use_unsafe_extended_memory_layout", Category::Core}; |
| 146 | SwitchableSetting<bool> use_speed_limit{linkage, true, "use_speed_limit", | ||
| 147 | Category::Core, false, true}; | ||
| 148 | SwitchableSetting<u16, true> speed_limit{linkage, 100, 0, 9999, "speed_limit", | ||
| 149 | Category::Core, true, true}; | ||
| 146 | 150 | ||
| 147 | // Cpu | 151 | // Cpu |
| 148 | SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto, | 152 | SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto, |
| @@ -196,10 +200,6 @@ struct Values { | |||
| 196 | Category::Renderer}; | 200 | Category::Renderer}; |
| 197 | SwitchableSetting<bool> use_asynchronous_gpu_emulation{ | 201 | SwitchableSetting<bool> use_asynchronous_gpu_emulation{ |
| 198 | linkage, true, "use_asynchronous_gpu_emulation", Category::Renderer}; | 202 | linkage, true, "use_asynchronous_gpu_emulation", Category::Renderer}; |
| 199 | SwitchableSetting<bool> use_speed_limit{linkage, true, "use_speed_limit", Category::Renderer, | ||
| 200 | false, true}; | ||
| 201 | SwitchableSetting<u16, true> speed_limit{ | ||
| 202 | linkage, 100, 0, 9999, "speed_limit", Category::Renderer, true, true}; | ||
| 203 | SwitchableSetting<AstcDecodeMode, true> accelerate_astc{linkage, | 203 | SwitchableSetting<AstcDecodeMode, true> accelerate_astc{linkage, |
| 204 | AstcDecodeMode::Cpu, | 204 | AstcDecodeMode::Cpu, |
| 205 | AstcDecodeMode::Cpu, | 205 | AstcDecodeMode::Cpu, |