Config: Moves non-OS specific configuration loading to FEXCore

Puts the visibility of the main layer, application layers, and
environment in to FEXCore instead of FEX.
These layers aren't specific to FEX/FEXLoader and should live in
FEXCore.

Only the EmptyMapper remains in FEX, which should eventually move over
to FEXConfig since that is the only user.
This commit is contained in:
Ryan Houdek committed 2021-08-24 23:17:32 -07:00
1 parent 6afc3ca13a
commit f131f07612
14 files changed
+303 -249

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ namespace {
}
ConfigOpen = true;
ConfigFilename = Filename;
LoadedConfig = std::make_unique<FEX::Config::MainLoader>(Filename);
LoadedConfig = FEXCore::Config::CreateMainLayer(&Filename);
LoadedConfig->Load();
return true;
}