Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

Commit 9600f0d

Browse files
committed
[MGR] Remove hotplug for HW1 devices
1 parent 7d71b50 commit 9600f0d

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

main/system/manager.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,12 +647,9 @@ void sys_mgr_init(uint32_t package) {
647647
hw_config.ports_sense_p3_p4_as_output = 1;
648648
break;
649649
case N64:
650-
hw_config.port_cnt = 4;
651-
break;
652650
case DC:
653651
case GC:
654652
hw_config.port_cnt = 4;
655-
hw_config.hotplug = 1;
656653
break;
657654
case PARALLEL_1P:
658655
case PCE:

main/wired/maple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ void maple_init(uint32_t package)
639639
}
640640
#endif
641641
#ifndef CONFIG_BLUERETRO_WIRED_TRACE
642-
maple_port_cfg(0x0);
642+
maple_port_cfg(0xF);
643643
#else
644644
maple_port_cfg(0x1);
645645
#endif

main/wired/nsi.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -683,12 +683,7 @@ void nsi_init(uint32_t package) {
683683

684684
RMT.apb_conf.fifo_mask = 1;
685685

686-
if (wired_adapter.system_id == N64) {
687-
nsi_port_cfg(0xF);
688-
}
689-
else {
690-
nsi_port_cfg(0x0);
691-
}
686+
nsi_port_cfg(0xF);
692687

693688
for (uint32_t i = 0; i < ARRAY_SIZE(gpio_pin); i++) {
694689
RMT.conf_ch[rmt_ch[i][system]].conf0.div_cnt = 40; /* 80MHz (APB CLK) / 40 = 0.5us TICK */;

0 commit comments

Comments
 (0)