mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 22:34:54 +00:00
Remove warning about ambigious if/else.
This commit is contained in:
parent
d66dd970cd
commit
1c01fd9c9d
1 changed files with 2 additions and 0 deletions
|
@ -236,10 +236,12 @@ bool DolphinApp::OnInit()
|
|||
std::string(videoBackendName.mb_str());
|
||||
|
||||
if (selectAudioEmulation)
|
||||
{
|
||||
if (audioEmulationName == "HLE")
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE = true;
|
||||
else if (audioEmulationName == "LLE")
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.bDSPHLE = false;
|
||||
}
|
||||
|
||||
VideoBackend::ActivateBackend(SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoBackend);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue