mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
VolumeWiiCrypted: Replace ChangePartition with a partition parameter
By removing mutable state in VolumeWiiCrypted, this change makes partition-related code simpler. It also gets rid of other ugly things, like ISOProperties's "over 9000" loop that creates a list of partitions by trying possible combinations, and DiscScrubber's volume swapping that recreates the entire volume when it needs to change partition.
This commit is contained in:
@ -21,7 +21,7 @@ class IVolume;
|
||||
class FilesystemPanel final : public wxPanel
|
||||
{
|
||||
public:
|
||||
explicit FilesystemPanel(wxWindow* parent, wxWindowID id, const GameListItem& item,
|
||||
explicit FilesystemPanel(wxWindow* parent, wxWindowID id,
|
||||
const std::unique_ptr<DiscIO::IVolume>& opened_iso);
|
||||
~FilesystemPanel();
|
||||
|
||||
@ -69,7 +69,6 @@ private:
|
||||
|
||||
wxTreeCtrl* m_tree_ctrl;
|
||||
|
||||
const GameListItem& m_game_list_item;
|
||||
const std::unique_ptr<DiscIO::IVolume>& m_opened_iso;
|
||||
|
||||
std::unique_ptr<DiscIO::IFileSystem> m_filesystem;
|
||||
|
Reference in New Issue
Block a user