FEXCore: Pass host type that changes codegen to FEXCore

Because these compile options change codegen, we need to make sure these
are runtime selected rather than compile-time selected. Will reduce
code-cache variance.
This commit is contained in:
Ryan Houdek committed 2026-06-26 12:06:30 -07:00
1 parent 9ac608ca43
commit c0251dc8be
7 files changed
+47 -31

No files matched your search

+1 -1
View File
@@ -601,7 +601,7 @@ NTSTATUS ProcessInit() {
FEX::Windows::Allocator::SetupHooks(NtDll);
{
auto HostFeatures = FEX::Windows::CPUFeatures::FetchHostFeatures(IsWine);
auto HostFeatures = FEX::Windows::CPUFeatures::FetchHostFeatures(IsWine, FEXCore::HostFeatures::HostTypeEnum::Arm64ec);
CTX = FEXCore::Context::Context::CreateNewContext(HostFeatures);
}