Merge pull request #4779 from asLody/environ

Windows: Support EnvLoader via _environ
This commit is contained in:
Ryan Houdek authored and GitHub committed 2025-08-14 11:22:23 -07:00
commit 26b4195f1f
3 files changed
+26 -2

No files matched your search

+1 -1
View File
@@ -615,7 +615,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();