o0Zz / sys-con

Nintendo Switch sysmodule that allows support for third-party controllers (XBox, PSX, PC, ...)
GNU General Public License v3.0
74 stars 5 forks source link

Sysmodule does not de-init properly #52

Open Craftyawesome opened 1 week ago

Craftyawesome commented 1 week ago

Information Atmosphere version: 1.8.0 Switch OS version: 19.0.1 Syscon version: 1.4.3 Controller: (NA / only joycons connected)

Description When using something like ovl-sysmodules to stop the sysmodule without rebooting, the memory usage does not decrease. Turning it on again will decrease free memory.

But even with seemingly enough free memory, the 4th attempt to load sys-con will cause atmosphere to panic.

If this is an intentional compromise to avoid requiring a reboot, it should be added to the readme.

Logs Not much help, it initializes 3 times normally but crashes before any output on the 4th try. (useless) log+config.zip

o0Zz commented 1 week ago

Hi thanks for the report, I will have a look, I'm not really surprise by this finding, I never took the time to unitialize the module properly.