diff options
| author | 2023-11-03 15:41:16 +0100 | |
|---|---|---|
| committer | 2023-11-25 19:30:37 +0100 | |
| commit | 40644d43f700cb0075db0eea288078bda7cf4527 (patch) | |
| tree | 876d26a64a803d2b1509e71a13fe822f1e851c00 /src/common/settings.h | |
| parent | yuzu: integrate gamemode support on linux (diff) | |
| download | yuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar.gz yuzu-40644d43f700cb0075db0eea288078bda7cf4527.tar.xz yuzu-40644d43f700cb0075db0eea288078bda7cf4527.zip | |
yuzu: create linux group in general settings
- Create files dedicated to starting and stopping gamemode functions
- Use them in yuzu and yuzu_cmd modules
Diffstat (limited to 'src/common/settings.h')
| -rw-r--r-- | src/common/settings.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 788020bde..491f0d3e0 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -178,8 +178,6 @@ struct Values { | |||
| 178 | true, | 178 | true, |
| 179 | &use_speed_limit}; | 179 | &use_speed_limit}; |
| 180 | 180 | ||
| 181 | Setting<bool> enable_gamemode{linkage, false, "enable_gamemode", Category::Core}; | ||
| 182 | |||
| 183 | // Cpu | 181 | // Cpu |
| 184 | SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto, | 182 | SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto, |
| 185 | CpuAccuracy::Auto, CpuAccuracy::Paranoid, | 183 | CpuAccuracy::Auto, CpuAccuracy::Paranoid, |
| @@ -429,6 +427,9 @@ struct Values { | |||
| 429 | true, | 427 | true, |
| 430 | true}; | 428 | true}; |
| 431 | 429 | ||
| 430 | // Linux | ||
| 431 | SwitchableSetting<bool> enable_gamemode{linkage, true, "enable_gamemode", Category::Linux}; | ||
| 432 | |||
| 432 | // Controls | 433 | // Controls |
| 433 | InputSetting<std::array<PlayerInput, 10>> players; | 434 | InputSetting<std::array<PlayerInput, 10>> players; |
| 434 | 435 | ||