mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 16:00:18 +02:00
JIT invalidation around syscalls and kernel calls is mighty fickle. This is why the previous code path was born. In order to properly handle this case we need strong coordination between Wine and FEX around invalidating code and memory protections. This doesn't quite exist today so we're kind of stuck with a kludge solution. Instead of forcing the Persona 5 code invalidation on to every process, only do it on P5R. This fixes a hang in msiexec with PhysX trying to do a blocking read and jitting code or creating threads, while also maintaining the P5R approach. The full comment is in the file about the reasoning.