mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 06:00:41 +02:00
WINE: Fixes FEX_PORTABLE usage
Completely didn't listen to FEX_PORTABLE. Necessary otherwise it can read configs from some random locations when portable is enabled.
This commit is contained in:
5 files changed
+27
-6
No files matched your search
@@ -36,6 +36,7 @@ $end_info$
|
||||
#include "Common/Logging.h"
|
||||
#include "Common/Module.h"
|
||||
#include "Common/CRT/CRT.h"
|
||||
#include "Common/PortabilityInfo.h"
|
||||
#include "DummyHandlers.h"
|
||||
#include "BTInterface.h"
|
||||
|
||||
@@ -447,7 +448,7 @@ public:
|
||||
|
||||
void BTCpuProcessInit() {
|
||||
FEX::Windows::InitCRTProcess();
|
||||
FEX::Config::LoadConfig(nullptr, FEX::Windows::GetExecutableFilePath());
|
||||
FEX::Config::LoadConfig(nullptr, FEX::Windows::GetExecutableFilePath(), nullptr, FEX::ReadPortabilityInformation());
|
||||
FEXCore::Config::ReloadMetaLayer();
|
||||
FEX::Windows::Logging::Init();
|
||||
|
||||
|
||||
Reference in new issue
Block a user