mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-10 13:00:20 +02:00
Windows: Support EnvLoader via _environ
This commit is contained in:
1 parent
2a4bfe49f5
commit
cd31a79f41
3 files changed
+26
-2
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user