upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorSenne Cools <113857183+sennecools@users.noreply.github.com>2026-11-23 23:07:51 +0100
committerSenne Cools <113857183+sennecools@users.noreply.github.com>2026-11-23 23:07:51 +0100
commitad6e5d6bbee5bd8c3c8a7e95216f12038fe3db22 (patch)
tree4f0020d3c5053cf5ce189b7a26c5150c4861b5af /runtime/src/pe_loader.cpp
parent5d74c272363f2703265d44e6aaab1a1df8ddfaf3 (diff)
gta6rt: --init/--run stop with a clear message on a host without AVX
The game runs AVX code from its TLS callbacks on, so a CPU or OS without AVX (a QEMU qemu64 guest) died with a bare 0xC000001D. Check CPUID.1 AVX/OSXSAVE and XCR0 YMM state first, print one line and exit 4 (3 is LEONIDA_UNIMPLEMENTED=stop). --dry-run is unchanged and LEONIDA_SKIP_CPU_CHECK=1 skips the check. AI-assisted.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions