DMCA makes it illegal to circumvent DRM. Whether or not it's good DRM is irrelevant. The classic example would be DVDs that are encrypted with CSS and 40-bit keys. Because you need to be able to decrypt the DVD to be able to play the video, if your software doesn't have permission to playback (encrypted) DVDs, you're circumventing DRM. A DVD ripping software maker has lost this in court:
https://w.wiki/9yNuSo like how DVDs are encrypted, all Switch games are encrypted. Except with good AES encryption and proper key sizes. This started with games in the Wii/PS3 generation, so emulators for systems before that would be fine.
Also I've now learned that wikipedia has a URL shortener. Because Hacker News eats the period at the end of the wikipedia article title.