Ryujinx is a discontinued free and open-source emulator of the Nintendo Switch. It was first released on February 5, 2018 and supported more than 3,000 games by 2024. From Wikipedia
Nintendo's Koji Nishiura explains that emulators are not inherently illegal but can violate copyright laws depending on their functionality and use.