yuzu: create linux group in general settings

- Create files dedicated to starting and stopping gamemode functions
  - Use them in yuzu and yuzu_cmd modules
This commit is contained in:
flodavid 2023-11-03 15:41:16 +01:00
parent e21bdc68db
commit 6bd3056c52
16 changed files with 177 additions and 81 deletions

View file

@ -178,8 +178,6 @@ struct Values {
true,
&use_speed_limit};
Setting<bool> enable_gamemode{linkage, false, "enable_gamemode", Category::Core};
// Cpu
SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
CpuAccuracy::Auto, CpuAccuracy::Paranoid,
@ -429,6 +427,9 @@ struct Values {
true,
true};
// Linux
SwitchableSetting<bool> enable_gamemode{linkage, true, "enable_gamemode", Category::Linux};
// Controls
InputSetting<std::array<PlayerInput, 10>> players;