Set inputs to use "standard" by default
authornegativeExponent <54053706+negativeExponent@users.noreply.github.com>
Sun, 30 May 2021 04:28:16 +0000 (12:28 +0800)
committerGitHub <noreply@github.com>
Sun, 30 May 2021 04:28:16 +0000 (12:28 +0800)
frontend/libretro.c

index 609ce86..d0a0da7 100644 (file)
@@ -1385,6 +1385,10 @@ bool retro_load_game(const struct retro_game_info *info)
       }
    }
 
+   /* set ports to use "standard controller" initially */
+   for (i = 0; i < 8; ++i)
+      in_type[i] = PSE_PAD_TYPE_STANDARD;
+
    plugin_call_rearmed_cbs();
    /* dfinput_activate(); */