Should actually load the backend when it changes via game INI

This commit is contained in:
Ryan Houdek 2012-09-23 17:54:23 -05:00
parent f8f8aea577
commit 3229bf824c
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,7 @@
#include "SysConf.h" #include "SysConf.h"
#include "Core.h" #include "Core.h"
#include "Host.h" #include "Host.h"
#include "VideoBackendBase.h"
namespace BootManager namespace BootManager
@ -112,6 +113,8 @@ bool BootCore(const std::string& _rFilename)
game_ini.Get("Core", "DSPHLE", &StartUp.bDSPHLE, StartUp.bDSPHLE); game_ini.Get("Core", "DSPHLE", &StartUp.bDSPHLE, StartUp.bDSPHLE);
game_ini.Get("Wii", "DisableWiimoteSpeaker",&StartUp.bDisableWiimoteSpeaker, StartUp.bDisableWiimoteSpeaker); game_ini.Get("Wii", "DisableWiimoteSpeaker",&StartUp.bDisableWiimoteSpeaker, StartUp.bDisableWiimoteSpeaker);
game_ini.Get("Core", "GFXBackend", &StartUp.m_strVideoBackend, StartUp.m_strVideoBackend.c_str()); game_ini.Get("Core", "GFXBackend", &StartUp.m_strVideoBackend, StartUp.m_strVideoBackend.c_str());
VideoBackend::ActivateBackend(StartUp.m_strVideoBackend);
// Wii settings // Wii settings
if (StartUp.bWii) if (StartUp.bWii)
{ {