mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Eliminated the plugin interface. Merged DX9/DX11/OGL video plugins into Dolphin. It could still use a lot of cleanup. Lots of things are still named "plugin". Software renderer is temporarily disabled until it gets some namespaces. I only updated vs08/10, Linux/OSX builds are broken.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6996 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -31,7 +31,6 @@
|
||||
#include "Setup.h"
|
||||
|
||||
#include "Host.h" // Core
|
||||
#include "PluginManager.h"
|
||||
#include "HW/Wiimote.h"
|
||||
|
||||
#include "Globals.h" // Local
|
||||
@ -43,6 +42,8 @@
|
||||
#include "BootManager.h"
|
||||
#include "Frame.h"
|
||||
|
||||
#include "VideoBackendBase.h"
|
||||
|
||||
#include <wx/intl.h>
|
||||
|
||||
// ------------
|
||||
@ -283,13 +284,15 @@ bool DolphinApp::OnInit()
|
||||
|
||||
LogManager::Init();
|
||||
SConfig::Init();
|
||||
CPluginManager::Init();
|
||||
VideoBackend::PopulateList();
|
||||
WiimoteReal::LoadSettings();
|
||||
|
||||
if (selectVideoPlugin && videoPluginFilename != wxEmptyString)
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoPlugin =
|
||||
std::string(videoPluginFilename.mb_str());
|
||||
|
||||
VideoBackend::ActivateBackend(SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoPlugin);
|
||||
|
||||
// Enable the PNG image handler for screenshots
|
||||
wxImage::AddHandler(new wxPNGHandler);
|
||||
|
||||
@ -420,7 +423,7 @@ int DolphinApp::OnExit()
|
||||
if (SConfig::GetInstance().m_WiiAutoUnpair)
|
||||
WiimoteReal::UnPair();
|
||||
#endif
|
||||
CPluginManager::Shutdown();
|
||||
VideoBackend::ClearList();
|
||||
SConfig::Shutdown();
|
||||
LogManager::Shutdown();
|
||||
|
||||
@ -438,8 +441,6 @@ void DolphinApp::OnFatalException()
|
||||
// ------------
|
||||
// Talk to GUI
|
||||
|
||||
|
||||
// g_VideoInitialize.pSysMessage() goes here
|
||||
void Host_SysMessage(const char *fmt, ...)
|
||||
{
|
||||
va_list list;
|
||||
|
Reference in New Issue
Block a user