mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-11 03:56:02 +00:00
Fix extracting Wii disc partitions numbered 10 or higher
Instead of trying to get the partition number from the (localized!) item name, the partitions are now stored as item data.
This commit is contained in:
parent
a6970b3744
commit
86ceb54c38
2 changed files with 61 additions and 87 deletions
|
@ -40,8 +40,9 @@ class wxWindow;
|
|||
namespace DiscIO { struct SFileInfo; }
|
||||
namespace Gecko { class CodeConfigPanel; }
|
||||
|
||||
struct WiiPartition
|
||||
class WiiPartition final : public wxTreeItemData
|
||||
{
|
||||
public:
|
||||
DiscIO::IVolume *Partition;
|
||||
DiscIO::IFileSystem *FileSystem;
|
||||
std::vector<const DiscIO::SFileInfo *> Files;
|
||||
|
@ -75,8 +76,6 @@ public:
|
|||
private:
|
||||
DECLARE_EVENT_TABLE();
|
||||
|
||||
std::vector<WiiPartition> WiiDisc;
|
||||
|
||||
DiscIO::IVolume *OpenISO;
|
||||
DiscIO::IFileSystem *pFileSystem;
|
||||
|
||||
|
@ -227,7 +226,7 @@ private:
|
|||
const size_t _FirstIndex,
|
||||
const size_t _LastIndex);
|
||||
void ExportDir(const std::string& _rFullPath, const std::string& _rExportFilename,
|
||||
const int partitionNum = 0);
|
||||
const WiiPartition* partition = nullptr);
|
||||
|
||||
IniFile GameIniDefault;
|
||||
IniFile GameIniLocal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue