Windows: Support EnvLoader via _environ

This commit is contained in:
Lody committed 2025-08-14 10:41:11 +08:00
1 parent 2a4bfe49f5
commit cd31a79f41
3 files changed
+26 -2

No files matched your search

+1 -1
View File
@@ -614,7 +614,7 @@ NTSTATUS ProcessInit() {
FEX::Windows::InitCRTProcess();
const auto ExecutablePath = FEX::Windows::GetExecutableFilePath();
FEX::Config::LoadConfig(nullptr, ExecutablePath, nullptr, FEX::ReadPortabilityInformation());
FEX::Config::LoadConfig(nullptr, ExecutablePath, _environ, FEX::ReadPortabilityInformation());
FEXCore::Config::ReloadMetaLayer();
FEX::Windows::Logging::Init();