mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
Config: Integrate
This commit is contained in:
parent
1548a15c68
commit
41afe78a44
5 changed files with 33 additions and 0 deletions
|
@ -7,10 +7,12 @@
|
|||
#endif
|
||||
|
||||
#include "Common/CommonPaths.h"
|
||||
#include "Common/Config/Config.h"
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/Logging/LogManager.h"
|
||||
#include "Common/MsgHandler.h"
|
||||
|
||||
#include "Core/ConfigLoaders/BaseConfigLoader.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/HW/Wiimote.h"
|
||||
|
||||
|
@ -26,6 +28,8 @@ namespace UICommon
|
|||
void Init()
|
||||
{
|
||||
LogManager::Init();
|
||||
Config::Init();
|
||||
Config::AddLoadLayer(ConfigLoaders::GenerateBaseConfigLoader());
|
||||
SConfig::Init();
|
||||
VideoBackendBase::PopulateList();
|
||||
WiimoteReal::LoadSettings();
|
||||
|
@ -41,6 +45,7 @@ void Shutdown()
|
|||
WiimoteReal::Shutdown();
|
||||
VideoBackendBase::ClearList();
|
||||
SConfig::Shutdown();
|
||||
Config::Shutdown();
|
||||
LogManager::Shutdown();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue