mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
DiscIO: Remove m_partition and m_volume from FileSystem
The last commit made m_partition unnecessary, and m_volume has been unnecessary ever since the PR that added DiscExtractor.
This commit is contained in:
parent
38304da947
commit
ca36c977d9
3 changed files with 6 additions and 19 deletions
|
@ -106,7 +106,6 @@ protected:
|
|||
class FileSystem
|
||||
{
|
||||
public:
|
||||
FileSystem(const Volume* volume, const Partition& partition);
|
||||
virtual ~FileSystem();
|
||||
|
||||
// If IsValid is false, GetRoot must not be called.
|
||||
|
@ -118,11 +117,6 @@ public:
|
|||
virtual std::unique_ptr<FileInfo> FindFileInfo(const std::string& path) const = 0;
|
||||
// Returns nullptr if not found
|
||||
virtual std::unique_ptr<FileInfo> FindFileInfo(u64 disc_offset) const = 0;
|
||||
|
||||
virtual const Partition GetPartition() const { return m_partition; }
|
||||
protected:
|
||||
const Volume* const m_volume;
|
||||
const Partition m_partition;
|
||||
};
|
||||
|
||||
// Calling Volume::GetFileSystem instead of manually constructing a filesystem is recommended,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue