mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
FEX should only set fpx_sw_bytes.magic1 with FP_XSTATE_MAGIC when avx is enabled. Otherwise it may cause segfault in ntdll::save_context, which requires access to extended xstate info if magic1 equals FP_XSTATE_MAGIC. Signed-off-by: Changwei Miao <chanthmiao@outlook.com>