>>126962659
emulation itself isn't illegal but a lot of the necessary steps can break some licensing agreement or copyright technicality unless you already own the game and jump through a lot of other hoops to stay legal
the same international copyright laws that allowed people to record tv shows on a vcr and rewatch them whenever they want back in the day still protect people today when it comes to a lot of things