Emulators being illegal is a common misconception. It is completely legal to run that stuff on your computer under one condition of course, you actually own what you're running (i.e. the games and the console). Nintendo has tried to take them down but copyright laws actually protect software...