Merge pull request #6501 from lioncash/dup-cond
DolphinQt2/GameCubePane: Correct duplicate condition in LoadSettings()
This commit is contained in:
commit
e88cc33a29
|
@ -240,9 +240,9 @@ void GameCubePane::LoadSettings()
|
||||||
|
|
||||||
for (const std::string& dir : {USA_DIR, JAP_DIR, EUR_DIR})
|
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) ||
|
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;
|
have_menu = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue