Merge pull request #6501 from lioncash/dup-cond

DolphinQt2/GameCubePane: Correct duplicate condition in LoadSettings()
This commit is contained in:
Léo Lam 2018-03-23 13:01:47 +01:00 committed by GitHub
commit e88cc33a29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;