diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-10-05 21:25:44 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-10-05 21:25:44 -0400 |
| commit | 7c05d029d34470cd7bf5a7c2b0e8e9be92196428 (patch) | |
| tree | d8030b5172af797cf74c99957ce4dcfdb2903815 /Source/Core/DolphinWX/MainNoGUI.cpp | |
| parent | af241c97107a5116a2c486294d1ccc65027a56e6 (diff) | |
| parent | 19109e2d01d7bcbde51ba84f71fee1cfc751ec24 (diff) | |
Merge pull request #1085 from waddlesplash/refactoring
Migrate global init stuff into UICommon.
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/MainNoGUI.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp index e000a5a9de..ebe1d97c30 100644 --- a/Source/Core/DolphinWX/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/MainNoGUI.cpp @@ -22,6 +22,8 @@ #include "Core/HW/Wiimote.h" #include "Core/PowerPC/PowerPC.h" +#include "UICommon/UICommon.h" + #include "VideoCommon/VideoBackendBase.h" static bool rendererHasFocus = true; @@ -347,12 +349,7 @@ int main(int argc, char* argv[]) return 1; } - LogManager::Init(); - SConfig::Init(); - VideoBackend::PopulateList(); - VideoBackend::ActivateBackend(SConfig::GetInstance(). - m_LocalCoreStartupParameter.m_strVideoBackend); - WiimoteReal::LoadSettings(); + UICommon::Init(); platform->Init(); @@ -372,10 +369,7 @@ int main(int argc, char* argv[]) platform->Shutdown(); Core::Shutdown(); - WiimoteReal::Shutdown(); - VideoBackend::ClearList(); - SConfig::Shutdown(); - LogManager::Shutdown(); + UICommon::Shutdown(); delete platform; |
