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 | e392005f9442e9f327fcaa9b8a6b13db8ed1d94b (patch) | |
| tree | 4245dfb837da484556040bb02915d0e7b53569c8 /src/common/settings.h | |
| parent | ee7e1c9f8bf2d63e1004b74535201ef63c5d3ff4 (diff) | |
| parent | da2ca69c08a187449e21d2c16d622d41ceb96046 (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 4407c1e6da..b15213bd72 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); |
