That would be the
Atari Flashback.
The first one was a bit unusual that it was a
NES-clone console with ports of Atari 2600 games made for it. But the second is actually rather close to the original hardware, and can even be
modded to add a working cartridge port.