diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-09 20:22:31 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-09 20:38:03 +0200 |
commit | 6636f3ff4717886f48b7cd238cd75315952cb112 (patch) | |
tree | 9b96615d338628f2453721527bb4928cd0b8d645 /src/core/file_sys/patch_manager.h | |
parent | Merge pull request #1423 from DarkLordZach/romfs-file-exts (diff) | |
download | yuzu-6636f3ff4717886f48b7cd238cd75315952cb112.tar yuzu-6636f3ff4717886f48b7cd238cd75315952cb112.tar.gz yuzu-6636f3ff4717886f48b7cd238cd75315952cb112.tar.bz2 yuzu-6636f3ff4717886f48b7cd238cd75315952cb112.tar.lz yuzu-6636f3ff4717886f48b7cd238cd75315952cb112.tar.xz yuzu-6636f3ff4717886f48b7cd238cd75315952cb112.tar.zst yuzu-6636f3ff4717886f48b7cd238cd75315952cb112.zip |
Diffstat (limited to 'src/core/file_sys/patch_manager.h')
-rw-r--r-- | src/core/file_sys/patch_manager.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h index eb6fc4607..7d168837f 100644 --- a/src/core/file_sys/patch_manager.h +++ b/src/core/file_sys/patch_manager.h @@ -57,11 +57,10 @@ public: // Given title_id of the program, attempts to get the control data of the update and parse it, // falling back to the base control data. - std::pair<std::shared_ptr<NACP>, VirtualFile> GetControlMetadata() const; + std::pair<std::unique_ptr<NACP>, VirtualFile> GetControlMetadata() const; // Version of GetControlMetadata that takes an arbitrary NCA - std::pair<std::shared_ptr<NACP>, VirtualFile> ParseControlNCA( - const std::shared_ptr<NCA>& nca) const; + std::pair<std::unique_ptr<NACP>, VirtualFile> ParseControlNCA(const NCA& nca) const; private: u64 title_id; |