mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06: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:
@ -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;
|
||||
|
Reference in New Issue
Block a user