From 025884b688d94fa979d86c3f98876257efb2fec9 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Fri, 9 Jun 2017 18:04:58 +0200 Subject: [PATCH] FilesystemPanel: Expand game partition rather than second partition The game partition is normally the second partition, but not if the disc has been scrubbed to only contain one partition. --- Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp b/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp index aca91fa0a4..955c5bae50 100644 --- a/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp +++ b/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp @@ -215,7 +215,7 @@ bool FilesystemPanel::PopulateFileSystemTree() m_tree_ctrl->SetItemData(partition_root, partition); CreateDirectoryTree(m_tree_ctrl, partition_root, partition->filesystem->GetFileList()); - if (i == 1) + if (partitions[i] == m_opened_iso->GetGamePartition()) m_tree_ctrl->Expand(partition_root); } }