Also, emulators for 3d systems like N64 or Playstation take the basic commands those games send to their graphics chips, and basically translate those into generic PC commands so they can be rendered at any resolution you want just like a PC game. This isn't as accurate in most of the emulators, and can cause graphics glitches in some games, but it works good enough for most.