diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-09-15 19:30:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-15 19:30:05 +0200 |
| commit | 7cb8d6612c6df51073037b56ebc866f180aecd71 (patch) | |
| tree | 634e4c4d34472c6f2e49fbd48bebb6bb5f82de63 /Source/Core/DiscIO/DiscScrubber.cpp | |
| parent | 7caf44c8b5a8a435ad1d9db3b2444db614d329eb (diff) | |
| parent | f294599e734f2391db9e74b6454752e75fdf368c (diff) | |
Merge pull request #5870 from JosJuice/lazy-filesystem
DiscIO: Use Common::Lazy more
Diffstat (limited to 'Source/Core/DiscIO/DiscScrubber.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscScrubber.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscScrubber.cpp b/Source/Core/DiscIO/DiscScrubber.cpp index b2fc397eea..dac858fcda 100644 --- a/Source/Core/DiscIO/DiscScrubber.cpp +++ b/Source/Core/DiscIO/DiscScrubber.cpp @@ -182,7 +182,7 @@ bool DiscScrubber::ParseDisc() // Operations dealing with encrypted space are done here bool DiscScrubber::ParsePartitionData(const Partition& partition, PartitionHeader* header) { - std::unique_ptr<FileSystem> filesystem(CreateFileSystem(m_disc.get(), partition)); + const FileSystem* filesystem = m_disc->GetFileSystem(partition); if (!filesystem) { ERROR_LOG(DISCIO, "Failed to read file system for the partition at 0x%" PRIx64, |
