From f21418212bbc2ee96f23e04cfac8988c5a1b2f60 Mon Sep 17 00:00:00 2001 From: Jacques Gagnon Date: Sat, 14 Oct 2023 23:18:19 -0400 Subject: [PATCH] [SEGAIO] Reinit dev type for wired reset to update properly base on new mode --- main/wired/sega_io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/wired/sega_io.c b/main/wired/sega_io.c index d474ef07..bdc22077 100644 --- a/main/wired/sega_io.c +++ b/main/wired/sega_io.c @@ -939,6 +939,9 @@ void sega_io_init(uint32_t package) { gpio_config_t io_conf = {0}; uint8_t port_cnt = 0; + dev_type[0] = DEV_NONE; + dev_type[1] = DEV_NONE; + if (wired_adapter.system_id == SATURN) { switch (config.global_cfg.multitap_cfg) { case MT_SLOT_1: