From 1db1d64a1f84e6d65c5866c65a1059cdfce96ea7 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 11 Oct 2020 14:38:31 +1000 Subject: [PATCH] GameSettings: Simplify controller type check --- src/frontend-common/game_settings.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend-common/game_settings.cpp b/src/frontend-common/game_settings.cpp index 3b37bb20e..b9768b284 100644 --- a/src/frontend-common/game_settings.cpp +++ b/src/frontend-common/game_settings.cpp @@ -638,8 +638,7 @@ void Entry::ApplySettings(bool display_osd_messages) const { for (u32 i = 0; i < NUM_CONTROLLER_AND_CARD_PORTS; i++) { - if (g_settings.controller_types[i] != ControllerType::None && - g_settings.controller_types[i] == ControllerType::AnalogController) + if (g_settings.controller_types[i] == ControllerType::AnalogController) { if (display_osd_messages) {