mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
GameSettings: Simplify controller type check
This commit is contained in:
parent
303357df27
commit
1db1d64a1f
|
@ -638,8 +638,7 @@ void Entry::ApplySettings(bool display_osd_messages) const
|
||||||
{
|
{
|
||||||
for (u32 i = 0; i < NUM_CONTROLLER_AND_CARD_PORTS; i++)
|
for (u32 i = 0; i < NUM_CONTROLLER_AND_CARD_PORTS; i++)
|
||||||
{
|
{
|
||||||
if (g_settings.controller_types[i] != ControllerType::None &&
|
if (g_settings.controller_types[i] == ControllerType::AnalogController)
|
||||||
g_settings.controller_types[i] == ControllerType::AnalogController)
|
|
||||||
{
|
{
|
||||||
if (display_osd_messages)
|
if (display_osd_messages)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue