Some emulators have run-ahead now, which removes internal processing frames from games. Combined with an adaptive sync monitor, 1000hz USB polling, and other tricks, emulators can actually respond to inputs faster than the original gaming consoles did on CRTs. It's pretty much the closest thing we have to magic.
Here's a video demonstration I made: https://www.youtube.com/watch?v=1AvOa8yt6Vc
An an article of mine explaining the concept: https://byuu.net/input/run-ahead