diff options
| author | JosJuice <josjuice@gmail.com> | 2017-06-09 18:04:58 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2017-06-09 18:04:58 +0200 |
| commit | 025884b688d94fa979d86c3f98876257efb2fec9 (patch) | |
| tree | e5aa8f211900094e2d8a2777a7a51593cc67fd51 /Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp | |
| parent | 9885a2bb287b32fb248d8a8d9a3aa1697b4e3b0d (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |
