From 1c01fd9c9de6fcfd5a67fa217c13acb073be18a6 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Sun, 23 Dec 2012 19:24:30 +1300 Subject: [PATCH] Remove warning about ambigious if/else. --- Source/Core/DolphinWX/Src/Main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp index 7cb2aa7f68..a5b19eca4c 100644 --- a/Source/Core/DolphinWX/Src/Main.cpp +++ b/Source/Core/DolphinWX/Src/Main.cpp @@ -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);