summaryrefslogtreecommitdiff
path: root/src/core/loader/nca.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-04-27 19:40:46 -0700
committerGravatar GitHub2021-04-27 19:40:46 -0700
commitb096ec68cdbf6f1064a8b6b855489d38c3e59f6a (patch)
tree605b89f42d7897aac46f06add54c34201d9354bd /src/core/loader/nca.h
parentMerge pull request #6246 from lioncash/shadow (diff)
parentloader: Resolve instances of variable shadowing (diff)
downloadyuzu-b096ec68cdbf6f1064a8b6b855489d38c3e59f6a.tar.gz
yuzu-b096ec68cdbf6f1064a8b6b855489d38c3e59f6a.tar.xz
yuzu-b096ec68cdbf6f1064a8b6b855489d38c3e59f6a.zip
Merge pull request #6250 from lioncash/loader-shadow
loader: Resolve instances of variable shadowing
Diffstat (limited to 'src/core/loader/nca.h')
-rw-r--r--src/core/loader/nca.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/core/loader/nca.h b/src/core/loader/nca.h
index 918792800..c9792f390 100644
--- a/src/core/loader/nca.h
+++ b/src/core/loader/nca.h
@@ -23,15 +23,17 @@ class AppLoader_DeconstructedRomDirectory;
23/// Loads an NCA file 23/// Loads an NCA file
24class AppLoader_NCA final : public AppLoader { 24class AppLoader_NCA final : public AppLoader {
25public: 25public:
26 explicit AppLoader_NCA(FileSys::VirtualFile file); 26 explicit AppLoader_NCA(FileSys::VirtualFile file_);
27 ~AppLoader_NCA() override; 27 ~AppLoader_NCA() override;
28 28
29 /** 29 /**
30 * Returns the type of the file 30 * Identifies whether or not the given file is an NCA file.
31 * @param file open file 31 *
32 * @return FileType found, or FileType::Error if this loader doesn't know it 32 * @param nca_file The file to identify.
33 *
34 * @return FileType::NCA, or FileType::Error if the file is not an NCA file.
33 */ 35 */
34 static FileType IdentifyType(const FileSys::VirtualFile& file); 36 static FileType IdentifyType(const FileSys::VirtualFile& nca_file);
35 37
36 FileType GetFileType() const override { 38 FileType GetFileType() const override {
37 return IdentifyType(file); 39 return IdentifyType(file);