mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
The frontend shouldn't need to know any information about how to reconstruct eflags. Just give us the information we need and it'll work out. There are still some inherit limitations of this and some edge cases that might give invalid data, but it is roughly as close as it was before. Just provide if the PC was in the JIT, the host GPRs, and the PState object from the signal information and FEXCore does the rest. We don't need to change the signature for `SetFlagsFromCompactedEFLAGS` because during reloading of register state automatically does this for us.