From 92cd7e867cfae689694a88f04ccc4e5f2a4a37c0 Mon Sep 17 00:00:00 2001 From: negativeExponent <54053706+negativeExponent@users.noreply.github.com> Date: Sun, 30 May 2021 12:28:16 +0800 Subject: [PATCH] Set inputs to use "standard" by default --- frontend/libretro.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/libretro.c b/frontend/libretro.c index 609ce86a..d0a0da76 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -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(); */ -- 2.39.5