Merge pull request #522 from negativeExponent/patch-2
authorAutechre <libretro@gmail.com>
Sun, 30 May 2021 09:31:11 +0000 (11:31 +0200)
committerGitHub <noreply@github.com>
Sun, 30 May 2021 09:31:11 +0000 (11:31 +0200)
Set inputs to use "standard" by default

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(); */