diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-26 19:15:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 19:15:00 -0400 |
commit | 6c4abd23be375afda850661cdf164b65e52f8cb8 (patch) | |
tree | 4245dfb837da484556040bb02915d0e7b53569c8 /src/common/settings.h | |
parent | 84b384fbeafcb49f7ded1300cfc9dfa319a2fd3a (diff) | |
parent | 1cdd11d9f5541ba9b49baf3dddcb7e411f035669 (diff) |
Merge pull request #11356 from lat9nq/console-mode-pg
general,config-qt: Present Console Mode as an enum with separate options in game properties
Diffstat (limited to 'src/common/settings.h')
-rw-r--r-- | src/common/settings.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 4407c1e6d..b15213bd7 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -379,7 +379,13 @@ struct Values { Setting<s32> current_user{linkage, 0, "current_user", Category::System}; - SwitchableSetting<bool> use_docked_mode{linkage, true, "use_docked_mode", Category::System}; + SwitchableSetting<ConsoleMode> use_docked_mode{linkage, + ConsoleMode::Docked, + "use_docked_mode", + Category::System, + Specialization::Radio, + true, + true}; // Controls InputSetting<std::array<PlayerInput, 10>> players; @@ -519,6 +525,8 @@ bool IsGPULevelHigh(); bool IsFastmemEnabled(); +bool IsDockedMode(); + float Volume(); std::string GetTimeZoneString(TimeZone time_zone); |