Closed pcercuei closed 1 year ago
And add entries for the infamous Formula One games.
These games do tricks with the instruction cache that are hard to emulate properly in an interpreter, and almost impossible in a dynamic recompiler.
Funnily enough, emulating the CPU less accurately by only invalidating cached code on DMA writes and never on CPU writes make these games work.
These hacks will also make Lightrec generate faster code, but they are unsafe by nature, and that's why they are conditionally enabled.
And add entries for the infamous Formula One games.
These games do tricks with the instruction cache that are hard to emulate properly in an interpreter, and almost impossible in a dynamic recompiler.
Funnily enough, emulating the CPU less accurately by only invalidating cached code on DMA writes and never on CPU writes make these games work.
These hacks will also make Lightrec generate faster code, but they are unsafe by nature, and that's why they are conditionally enabled.