mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
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:
1 parent
6afc3ca13a
commit
f131f07612
14 files changed
+303
-249
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user