mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DiscIO: Add functions CreateDisc and CreateWAD
...in addition to the existing function CreateVolume (renamed from CreateVolumeFromFilename). Lets code easily add constraints such as not letting the user select a WAD file when using the disc changing functionality.
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
namespace DiscIO
|
||||
{
|
||||
class Volume;
|
||||
class VolumeDisc;
|
||||
struct Partition;
|
||||
|
||||
class FileInfoGCWii : public FileInfo
|
||||
@ -87,7 +87,7 @@ private:
|
||||
class FileSystemGCWii : public FileSystem
|
||||
{
|
||||
public:
|
||||
FileSystemGCWii(const Volume* volume, const Partition& partition);
|
||||
FileSystemGCWii(const VolumeDisc* volume, const Partition& partition);
|
||||
~FileSystemGCWii() override;
|
||||
|
||||
bool IsValid() const override { return m_valid; }
|
||||
|
Reference in New Issue
Block a user