Skip to content

Commit

Permalink
Merge pull request #6501 from lioncash/dup-cond
Browse files Browse the repository at this point in the history
DolphinQt2/GameCubePane: Correct duplicate condition in LoadSettings()
  • Loading branch information
leoetlino committed Mar 23, 2018
2 parents 894d4c9 + 38f045c commit e88cc33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DolphinQt2/Settings/GameCubePane.cpp
Expand Up @@ -240,9 +240,9 @@ void GameCubePane::LoadSettings()

for (const std::string& dir : {USA_DIR, JAP_DIR, EUR_DIR})
{
const auto& path = DIR_SEP + dir + DIR_SEP GC_IPL;
const auto path = DIR_SEP + dir + DIR_SEP GC_IPL;
if (File::Exists(File::GetUserPath(D_GCUSER_IDX) + path) ||
File::Exists(File::GetUserPath(D_GCUSER_IDX) + path))
File::Exists(File::GetSysDirectory() + GC_SYS_DIR + path))
{
have_menu = true;
break;
Expand Down

0 comments on commit e88cc33

Please sign in to comment.