Remove warning about ambigious if/else.

This commit is contained in:
Matthew Parlane 2012-12-23 19:24:30 +13:00
parent d66dd970cd
commit 1c01fd9c9d
1 changed files with 2 additions and 0 deletions

View File

@ -236,10 +236,12 @@ bool DolphinApp::OnInit()
std::string(videoBackendName.mb_str()); std::string(videoBackendName.mb_str());
if (selectAudioEmulation) if (selectAudioEmulation)
{
if (audioEmulationName == "HLE") if (audioEmulationName == "HLE")
SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE = true; SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE = true;
else if (audioEmulationName == "LLE") else if (audioEmulationName == "LLE")
SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE = false; SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE = false;
}
VideoBackend::ActivateBackend(SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend); VideoBackend::ActivateBackend(SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend);