GameSettings: Simplify controller type check

This commit is contained in:
Connor McLaughlin 2020-10-11 14:38:31 +10:00
parent 303357df27
commit 1db1d64a1f
1 changed files with 1 additions and 2 deletions

View File

@ -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)
{