Emulators and ROMs are legal under specific circumstances. If you own the console and the game, you can make a back up of your own games, however if you get rid of the game, the copy then becomes illegal.
It is also illegal to download a ROM, even if you have the original game cartridge, it is...