FEXCore: Support passing process pid to the backend

This commit is contained in:
Ryan Houdek committed 2026-09-18 16:59:35 -07:00
1 parent c55fb3b5b8
commit ec502b99d8
7 files changed
+13 -5

No files matched your search

+2 -1
View File
@@ -527,7 +527,8 @@ void BTCpuProcessInit() {
}
{
auto HostFeatures = FEX::Windows::CPUFeatures::FetchHostFeatures(IsWine, FEXCore::HostFeatures::HostTypeEnum::Wow64);
auto HostFeatures =
FEX::Windows::CPUFeatures::FetchHostFeatures(IsWine, FEXCore::HostFeatures::HostTypeEnum::Wow64, FEX::Windows::UnixLib::GetPID());
CTX = FEXCore::Context::Context::CreateNewContext(HostFeatures);
}