mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00: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:
parent
74d84c5af2
commit
19b8f1c10a
35 changed files with 622 additions and 639 deletions
|
@ -14,11 +14,12 @@
|
|||
namespace DiscIO
|
||||
{
|
||||
class IVolume;
|
||||
struct Partition;
|
||||
|
||||
class CFileSystemGCWii : public IFileSystem
|
||||
{
|
||||
public:
|
||||
CFileSystemGCWii(const IVolume* _rVolume);
|
||||
CFileSystemGCWii(const IVolume* _rVolume, const Partition& partition);
|
||||
virtual ~CFileSystemGCWii();
|
||||
|
||||
bool IsValid() const override { return m_Valid; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue