SourMesen / Mesen

Mesen is a cross-platform (Windows & Linux) NES/Famicom emulator built in C++ and C#
https://www.mesen.ca
GNU General Public License v3.0
1.25k stars 317 forks source link

dynamic recompiler support #810

Closed Cibomatto2002 closed 4 years ago

Cibomatto2002 commented 4 years ago

If Mesen had dynamic recompiler support would it help Mesen run faster on the pie?

SourMesen commented 4 years ago

Dynamic recompilers kind of do not make much sense for platforms like the NES and SNES - the timing of all the chips in the system must be followed perfectly to prevent games from breaking, because a lot of games depend on these precise timings - dynamic recompilation does not really allow this. While it's technically possible to some extent to dynamically recompile NES code, you would lose a ton of accuracy in the process, so at that point you're better off just using a less accurate & faster emulator in the first place.

Cibomatto2002 commented 4 years ago

Thanks for explaining it to me.