I don't think there was anything wrong with it at first when I first ported it today, besides the slow speeds at first, it compiled straight from the 4do master branch. It was just a series of events that lead me to find out I was not on the threaded retroarch build and then I thought the controllers were really wanked and I was reading through input code in the 4do emulator but I realized it might be fixed with a retroarch.cfg but, not knowing how to write one/not really wanting to write one, I went to the yabuse build, took the retroarch.cfg file and magically, 4do worked 100%
I might be wrong I don't really remember if there were issues compiling the libretro_switch.a for 4do it was early in the day however, I just signed up to gitlab and im uploading all my sources for people to see/want to compile. Im also working on porting vice (c64 emulator) but that might be a tough one because I might actually have to get under the hood to port the core.