Remove warning about ambigious if/else.
This commit is contained in:
parent
d66dd970cd
commit
1c01fd9c9d
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue