mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 22:35:45 +00:00
general: Use console mode helper across project
This commit is contained in:
parent
ab862207d7
commit
3c45452fae
13 changed files with 34 additions and 49 deletions
|
@ -99,9 +99,8 @@ void ConfigurePerGame::ApplyConfiguration() {
|
|||
addons_tab->ApplyConfiguration();
|
||||
input_tab->ApplyConfiguration();
|
||||
|
||||
if (Settings::values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked &&
|
||||
Settings::values.players.GetValue()[0].controller_type ==
|
||||
Settings::ControllerType::Handheld) {
|
||||
if (Settings::IsDockedMode() && Settings::values.players.GetValue()[0].controller_type ==
|
||||
Settings::ControllerType::Handheld) {
|
||||
Settings::values.use_docked_mode.SetValue(Settings::ConsoleMode::Handheld);
|
||||
Settings::values.use_docked_mode.SetGlobal(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue