summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorMatthew Parlane <matthew@phantuntu.(none)>2012-12-23 19:24:30 +1300
committerMatthew Parlane <matthew@phantuntu.(none)>2012-12-23 19:24:30 +1300
commit1c01fd9c9de6fcfd5a67fa217c13acb073be18a6 (patch)
tree9b903ccc33312298e3f211b77ffa7efdfb2c8288 /Source/Core
parentd66dd970cd8fb554dec5dd5b8693a6940295db47 (diff)
Remove warning about ambigious if/else.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/Main.cpp2
1 files changed, 2 insertions, 0 deletions
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);