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/core/frontend/applets | |
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/core/frontend/applets')
-rw-r--r-- | src/core/frontend/applets/controller.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/frontend/applets/controller.cpp b/src/core/frontend/applets/controller.cpp index 3300d4f79..27755cb58 100644 --- a/src/core/frontend/applets/controller.cpp +++ b/src/core/frontend/applets/controller.cpp @@ -3,6 +3,8 @@ #include "common/assert.h" #include "common/logging/log.h" +#include "common/settings.h" +#include "common/settings_enums.h" #include "core/frontend/applets/controller.h" #include "core/hid/emulated_controller.h" #include "core/hid/hid_core.h" @@ -62,7 +64,7 @@ void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callbac controller->Connect(true); } } else if (index == 0 && parameters.enable_single_mode && parameters.allow_handheld && - !Settings::values.use_docked_mode.GetValue()) { + !Settings::IsDockedMode()) { // We should *never* reach here under any normal circumstances. controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Handheld); controller->Connect(true); |