Skip to content

Commit

Permalink
[SEGAIO] Reinit dev type for wired reset to update properly base on n…
Browse files Browse the repository at this point in the history
…ew mode
  • Loading branch information
darthcloud committed Oct 15, 2023
1 parent 0e931ed commit f214182
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/wired/sega_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f214182

Please sign in to comment.