If you set your pages and repositories to be viewed publicly, you grant each User of GitHub a nonexclusive, worldwide license to use, display, and perform Your Content through the GitHub Service and to reproduce Your Content solely on GitHub as permitted through GitHub’s functionality (for example, through forking). You may grant further rights if you adopt a license. If you are uploading Content you did not create or own, you are responsible for ensuring that the Content you upload is licensed under terms that grant these permissions to other GitHub Users. -https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#5-license-grant-to-other-users
License can’t really revoke that.
Emulation and emulators aren’t illegal. Yuzu for example got in trouble mostly for distributing tools for circumventing copy protection and dumping roms and not for the emulator itself.
But it doesn’t really matter as nobody has money to defend themselves against something like Nintendo. Here just even the threat of it was enough to get the Ryujinx devs to fold just in case.